
Welcome Guest
|
|
|
#1
|
||||
|
||||
|
How the heck do I "call" a jsfl file from a Flash doc??!!
(Still learning learn how-to, why and when-to create one )Also, being the noob I am, what's the main advantages I can get from a jsfl file? Is it the pure Java that Flash can't use? Or what? An example would be much appreciated, to get into the concept, for starters. Cheers and great new idea for a forum
__________________
Every problem is an opportunity in disguise! |
|
#2
|
||||
|
||||
|
Hi Rantanplan hows it going?
![]() To call a JSFL script from a Flash movie (for example a SWF that you have placed in the WindowSWF folder to create a new panel). You use: Actionscript:
MMExecute('fl.runScript( fl.configURI + "Commands/Test.jsfl" );');"C:\Documents and Settings\USERNAME\Local Settings\Application Data\Macromedia\Flash MX 2004\en\Configuration\Commands" You can even execute JSFL directly with it, e.g. Actionscript:
var numLibItems = MMExecute("fl.getDocumentDOM().library.items.length"); but still cool!There are plenty of advantages, I started writing a tool to set all movieclips on stage to an exact pixel, very useful for crisp fonts and edges. You can get it to go through your library and perform tasks such as organise it. You can save things to file. dv8 wrote an MP3 player for the Flash IDE You can get it to perform "batch" tasks on library clips, and publish movies for each, it can do almost anything you can in Flash, but automated! You can even get it to perform dynamic curve optimization on shapes with a custom Windows/OSX panel you write in XML (XUL) and use sliders etc to modify the curve simplicity for example for a shape ACE!!.Rich p.s. more here http://livedocs.macromedia.com/flash...=00001474.html
__________________
Blog: http://www.richardleggett.co.uk | If your happy with the help, let us know about it
|
|
#3
|
||||
|
||||
|
As the old Parker Lewis himself would say:
"COOLNESS!"
__________________
Every problem is an opportunity in disguise! |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|

Programming Languages
)

but still cool!
