Thanks David for the tip.
I would like the artist to set certain values, so ideally, a method that
doesn't require them to mess with the script window is the best.
Would it be ok if I add parameters to the Component Definition? Behind the
scene what is the difference between a moviec
In your class, define the variable you want to pass in, like:
class Test extends MovieClip
{
var passedIn;
//...
}
Then, on the stage, select your movieclip instance, and bring up the
actionscript window (press F9), and enter the code:
onClipEvent(load)
{
passedIn = 123;
}
Hi all,
I have created a movieclip and associated it to an AS2 class in the linkage
property. I have different instances of this movieclip on stage and I would
like to pass different init params to the AS2 class. Is there a way to do it
in the IDE? Must I turn the movieclip to a comp
3 matches
Mail list logo