nchagial
07-20-2005, 12:06 AM
Hello,
I ve got the following problem
I ve got several movieClips in the stage i.e. movie1, movie2, movie3, etc. and i want to call them using
which.gotoAndPlay(frameName);
, where "which" is the name of an instance of a movieClip each time.
I ve also got a value inc that increments from 1 to the number of movieClips and I want to call each one sequentially.
for (inc = 1; inc < movieClips; inc++)
{
which = movie + inc.toString();
which.gotoAndPlay(frameName);
}
however that doesn't seem to work.
Any suggestions? Thanks..
I ve got the following problem
I ve got several movieClips in the stage i.e. movie1, movie2, movie3, etc. and i want to call them using
which.gotoAndPlay(frameName);
, where "which" is the name of an instance of a movieClip each time.
I ve also got a value inc that increments from 1 to the number of movieClips and I want to call each one sequentially.
for (inc = 1; inc < movieClips; inc++)
{
which = movie + inc.toString();
which.gotoAndPlay(frameName);
}
however that doesn't seem to work.
Any suggestions? Thanks..