controling multiple MC intances
Hi all....
I have a movie clip with "ball1" and "ball2" by name, now I want to stop both with one button and script on button goes like this
on(press){
for(i=1; i<4; i++)
_root(["ball" + "i"])
gotoAndStop(_currentframe)
}
but it is not working, any suggestions
thanks for reply.
the eaiest way., on button.,
on (release) {
setProperty("ball1", _visible, "0");
setProperty("ball2", _visible, "0");
}
I need both clips visible and stop at that perticular position.
Thanks for your replay, but that is not what Iam looking for, iam sending .FLA please suggest the code.
thanks
Nau
Attached Files
FK Supermodel
on(press){
for(i=1; i<4; i++)
_root["ball" + i].gotoAndStop(_root["ball" + i]._currentframe);
//or
_root["ball" + i].stop();
}
Last edited by laxmi19885; 08-04-2003 at 05:43 AM .
Thanks lakshmi...
But it is stoping root of MC in one perticular frame, not according to the instance frame.Any idea.
thanks
Nau
FK Supermodel
what means root of mc
_root["ball" +i]....means path of mc not root of mc..
u can use _root or path of that mc..
Posting Permissions
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
Forum Rules
Click Here to Expand Forum to Full Width