Posts Tagged ‘component’

JSFL Class Generator

Saturday, March 7th, 2009

Back in the AS2 days, I created a JSFL script that would trace out the code for a MovieClip class based on items on the timeline. This eventually got ported to AS3, and it had become an essential part of my day-to-day workflow. However, there were some critical shortcomings. One was that it couldn’t identify instances of other custom components in your library. It just typed them as MovieClip. And, most importantly, (due to the limitations of JSFL at the time), it couldn’t actually output a real class file.

I have now updated this script, and my new class generator has much better timeline instance introspection and it actually creates the class files for you. To install, download Bumpslide Component Class Generator JSFL File and put it in your Flash commands folder. This will create a new entry in your Commands menu called “[Bumpslide] Generate Component Classes”.

(more…)