project-09
05-27-2004, 07:42 PM
Hey Guys,
I was using _Root. to play a frame within' another MC. When I tested this on a black FLA document it worked fine. However, when I redid this where I needed to do it it didn't work. Turns out the way that I'm doing it, the _Root. doesn't work if the button/MC is inside of another MC.
So basically everything works as long as its on the main timeline, but I need it to work for a button & MC that are embedded inside of another MC. Here is the AS i am using for the button that controls the MC. Lets say the instance name of the MC i am controlling is "circle". As flexible as flash is i'm sure there's a way, can i give it a depth would that work???
on (release) {
_root.circle.gotoAndStop(2);
}
I'm willing to do anything for help so if u want I will post an FLA of my problem hehe :).
I was using _Root. to play a frame within' another MC. When I tested this on a black FLA document it worked fine. However, when I redid this where I needed to do it it didn't work. Turns out the way that I'm doing it, the _Root. doesn't work if the button/MC is inside of another MC.
So basically everything works as long as its on the main timeline, but I need it to work for a button & MC that are embedded inside of another MC. Here is the AS i am using for the button that controls the MC. Lets say the instance name of the MC i am controlling is "circle". As flexible as flash is i'm sure there's a way, can i give it a depth would that work???
on (release) {
_root.circle.gotoAndStop(2);
}
I'm willing to do anything for help so if u want I will post an FLA of my problem hehe :).