May 14, 2010 8:48 AM
Deco Tool JSX API
-
Like (0)
Just wondering if anyone could forward me, or tell me where to get my grubby little hands on, the JSX API that is used for for the Deco Tool in Flash CS4/CS5.
Reson being is that I'm the programmer for an animation studio and currently I have an automated process set up that allows people to draw a regular brush line in flash, mark it off, and then send it to be rebrushed by my bot which exports the line from flash, imports it into illustrator, brushes it with the appropriate illustrator brush and then it gets imported back into flash over the top of the original line.
What I want to do is be able to use the brushes in the deco tool and apply a deformation to them to allow them to bend. The ones I am dealing with are fixed length and it will be up to the artist to decide what looks good.
So if anyone has the info I need I'd appreciate it. This could also seal the deal for us buying a coupla hundred (min) CS5 licences to get this feature. (Adobe, any love left for me?)
TIA,
Danyul
Hi,
Check out these tutorials:
Flash CS4 - http://www.adobe.com/devnet/flash/articles/deco_intro.html
Flash CS5 - http://www.adobe.com/devnet/flash/articles/deco_effects_flcs5.html?dev con=f1
The scripts that ship with Flash can be found in the install directory:
Flash CS4:
Win - C:\Program Files\Adobe\Adobe Flash CS4\<language>\First Run\ProcScripts
Mac - /Applications/Adobe Flash CS4/<language>/First Run/ProcScripts
Flash CS5:
Win XP - C:\Program Files\Adobe\Adobe Flash CS5\Common\First Run\ProcScripts
Mac - /Applications/Adobe Flash CS5/Common/First Run/ProcScripts
These files get copied to your user-configuration directory when you first launch Flash. You can add custom scripts to your user-configuration folder and the procedural modeling engine will load those when you launch Flash:
Flash CS4:
Win XP - C:\Documents and Settings\<user>\Local Settings\Application Data\Adobe\Flash CS4\<language>\Configuration\ProcScripts
Win Vista/Win 7 - C:\Users\<user>\AppData\Local\Adobe\Flash CS4\<language>\Configuration\ProcScripts
Mac - Macintosh HD/Users/<user>/Library/Application Support/Adobe/Flash CS4/<language>/Configuration/ProcScripts
Flash CS5:
Win XP - C:\Documents and Settings\<user>\Local Settings\Application Data\Adobe\Flash CS5\<language>\Configuration\ProcScripts
Win Vista/Win 7 - C:\Users\<user>\AppData\Local\Adobe\Flash CS5\<language>\Configuration\ProcScripts
Mac - Macintosh HD/Users/<user>/Library/Application Support/Adobe/Flash CS5/<language>/Configuration/ProcScripts
HTH,
Nivesh
Hi Nivesh,
Thanks for the info. I am aware of the locations of the files and have read those posts by Jonathan but they are somewhat lacking in information about what I need.
I have been making my own Deco Tool brush using what information I've been able to gather and enumerate out of the existing brushes and objects that they use.
I would def require more info on the JSAPI so that I am able to make this brush efficiently.
-Danyul
Copyright © 2011 Adobe Systems Incorporated. All rights reserved.
Use of this website signifies your agreement to the Terms of Use and Online Privacy Policy (updated 07-14-2009).