NOTE: Please correct the above if I'm wrong! To make sure it selects your "Main Timeline" anytime you run the script, I believe the following will grab it: var tl = doc.timelines //Grabs the Main Timeline NOTE: Be aware that this will grab the reference of the currently displayed timeline (whether it'd be a Symbol in "Edit in Place" mode, or another Scene, etc. To scan the current document's timeline for elements, first it's a good idea to store a reference of the current timeline, like so: var doc = fl.getDocumentDOM() The Library Symbols' children's timelines (although, that might be redundant since you're already doing this in a way with the previous.The Main timeline's instances that have timelines (MovieClip, Buttons, Graphics).Although this is outdated, the concepts, properties and methods haven't changed significantly (if at all), for the exception of some newer features obviously, TLF textfields being one of'em!Ī more complete and updated version can usually be found on the Adobe Livedocs / Help reference online:įor your specific need, you would have to scan: If you're comfortable writing your own JSFL script for this elaborate task, I would recommend that you gain some experience navigating the Flash DOM tree and grab a copy of FriendsofEd's "Extending Flash MX 2004", or at least have a look at its JSFL reference preview PDF.