simple flash q
simple flash q
- Started
- Last post
- 2 Responses
- lnu
Say that I duplicate a movieclip, and call the clips clip1, clip2, clip3 etc. Or for that matter, if I already have these clips on the stage, nevermind the duplication.
Anyway, I want to be able to controll these clips dynamically, for example, if I'm doing something with clip3, I also want to tell clip2 and clip4 what to do. Like if clip(i).something then clip(i-1).something and clip(i+1).something.
But what is the syntax for this, how can I take a number and use it in an instance name?
Thanks.
- UndoUndo0
_root["clipName"+i].itemName._xs... = 500;
etc
note no dot before the 1st [
- lnu0
Great, thanks. I was trying _root.clipname[i].