Skip navigation
Home/Support/

Forums

124 Views 2 Replies Latest reply: May 14, 2010 2:35 PM by DanyulC RSS
DanyulC Calculating status... 8 posts since
May 26, 2009
Currently Being Moderated

May 14, 2010 8:48 AM

Deco Tool JSX API

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

  • nrajbhan User 197 posts since
    Feb 6, 2004
    Currently Being Moderated
    1. May 14, 2010 1:01 PM (in response to DanyulC)
    Re: Deco Tool JSX API

    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

     

More Like This

  • Retrieving data ...

Bookmarked By (0)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points