JSFL Documentation
Finding the JSFL documentation on Adobe's site is not exactly straightforward. It's nestled deep in the support area. The best way to find it is using an advanced Google search for .pdf files with the words "extending flash cs3".
To save you that step, I've decided to post the URL to the PDF here.
http://livedocs.adobe.com/flash/9.0/main/flash_cs3_extending.pdf
Right-click and Save As if you want to download the pdf to your desktop.
Posted in JSFL
March 5th, 2008 at 11:51 am
you rock! I was looking for some of this the other day too. it wasn't fun to find.
March 6th, 2008 at 4:52 am
This is sweeeet…. who could have "guessed"
You could!
Thanks, now i play
May 20th, 2008 at 5:11 am
This is great and very helpful. I saved the sits link for further use. Thanks a lot…..
August 28th, 2008 at 12:46 am
I also found this:
http://livedocs.adobe.com/flash/9.0/main/wwhelp/wwhimpl/common/html/wwhelp.htm?context=LiveDocs_Parts&file=00003909.html
Hope it helps
November 11th, 2008 at 6:40 am
What a big help. Instead of an advanced Google search for .pdf and "extending flash cs3" (which I never would have thought of), all I had to do was look for "jsfl" and I get the motherload of all resources! I will definitely be sharing this with everyone at the office. Thank you much.
January 7th, 2009 at 7:58 pm
Hi, I guess think should be my first post here, Steve. This pdf is certainly great help! I have starting on my journey on JSFL, your JSFL topics has help me a lot! Thanks!
Currently, I am working on simple jsfl scripts to aid designers in their working process in Flash IDE, a simple example is changing all the quality of images in library to certain value. Do you have any reference sites where such scripts are already written and can be used?
Cheers! Thanks again!
Dan
CreativeSauce
January 7th, 2009 at 9:45 pm
Changing the quality of images in the library is a single JSFL command, bitmapItem.quality. You get bitmapItem by iterating through the library, which is a property of fl.getDocumentDOM(). Check out the PDF, and make sure you open the history panel in Flash and you'll be able to see the exact JSFL used to accomplish the various actions as you do them.
March 10th, 2009 at 1:50 pm
I need a way to batch a bunch of FLVs to swf video. Currently, I have an FLA file I use as a starter file. (It's set up to my specs, with logo watermark on an upper layer and the FLV component is using my custom control bar.)
I click in the component inspector "content path" to select the FLV I want to use. I save the FLA as the same name as the FLV. Then I publish the FLA file to create the SWF. Then I go to the component inspector again, click the "content path" item to pick a new FLV, then save the FLA with the same name as the FLV. Then I hit shift F12 to publish. It's very monotonous.
I feel there's a way to use JSFL to do these motions, but am not sure how! Any ideas? I have a folder of hundreds of FLVs that I'd like the script to go through, insert the FLV filename, save the FLA, publish to SWF, then go on to the next FLV in the folder.
Any ideas??
Thanks.
March 10th, 2009 at 4:30 pm
Unfortunately, you cannot use JSFL to automate the importing of FLV files into Flash as it requires a series of dialog interactions. However, everything after that I believe can be automated. So, you can write a script that handles saving the FLA as the same name as the FLV (most likely by looking in the library for the name of the FLV file).
I'm not sure that you can modify the content path directly on the component, however, you could write some Actionscript to do it on the timeline, if that would work for you.
May 21st, 2009 at 5:08 am
Steven! Wonderfull!!
Keep up the good work with everything!
May 4th, 2011 at 7:38 am
and now the question of the year:
what is this JSFL shit good for?