For those that attended my presentation on JSFL at Flashtival yesterday, I'm packaging up some of the examples I've shown starting with the Triangle tool. This is about the easiest example I could think of and is a great way to get started with creating your own Tools for the Flash IDE.
I've got a couple of things on my to-do list for this extension, if you feel like experimenting with the code you can certainly try to implement it yourselves:

- Support for a fill color
- Use the SHIFT key to constrain it to an equilateral triangle

You can download the extension as an MXP here, I've also packaged up the source files seperately if you just want to look at the code again.

Feel free to drop me a line or leave a comment if you're having some problems with the code!

Posted
AuthorPeter
CategoriesGeneral