This content has been marked as final. Show 2 replies
I started learning it from a book some years ago. Even though I did a components that does this command, it was not easy, i.e. not a short code. I don't have it right now but I can try to get it.
> I'm wondering if it is possible with JSFL to make something
> that goes through and changes all the text fields to static, or
> perhaps dynamic with the font embedded?
Yes, absolutely possible. Using the various objects available via the
JSFL API, you can reference timelines, frames of timelines, and so on ...
looping among all elements in each frame, in each timeline, in each
document, in each folder, etc., etc. Check each element to see what type it
is; if it's a text field, check its type, change its type, what have you.
JSFL is truly a useful, powerful batching resource.
> I haven't done any JSFL so I really don't know. Anybody got
> something that already does this? Or a good place to start learning?
Your best bet, even though it was written for Flash MX 2004, is still
Keith Peters' and Todd Yards' "Extending Flash MX 2004: Complete Guide and
5 bucks, plus cheap shipping. It's every penny's worth the original price
of (probably around) $35. Sure, the API grew a bit -- but only a bit! -- in
Flash 8, and grew a bit more in Flash CS3, but the basic principles are the
same, and most of the API hasn't changed. And -- you'll love this,
Rothrock -- it's basically just DOM scripting in JS, except the DOM is a
Flash document rather than an HTML document, which means AS1-style
Adobe Community Expert
Dev blog, http://www.quip.net/blog/
"Luck is the residue of good design."