Here is a tool i quickly knocked up for you, which adds a rather useless tool, complete with its own space and icon into the Tools panel(Window>Tools). Extract the contents of the zip folder into the Tools directory and then open Flash MX 2004. Select the tool from the Tools panel(You’ll notice the new icon) then Click, hold, move and release on the stage and see what it draws on the stage for you - The lines drawn wont be exported to the .swf as the Flash IDE drawingLayer is simply for displaying artwork at author time ie.(Selection areas). But again, it gives you an insight into how to create your own Tools. You now have yourself an example of a JSFL tool. All you need to do now is combine this knowledge with the knowledge gained from experimentation after reading my previous post about searching through the Flash IDE’s DOM and you have yourself a headtstart with JSFL.