Link to home
Start Free TrialLog in
Avatar of juststeve
juststeve

asked on

Control timeline of a child created by loadMovie

My main timeline has a clip (myChildHolder) that will load an external .swf where I need to be able to stop/start it according to conditions of the parent.

The first/only frame of myChildholder is:
loadMovie("myChild.swf", this);
stop();

Because I'm loading into 'this' I expect the parent (_root) to be able to control the movie with:

myChildHolder.stop();

But it's not. It shouldn't make a difference that the .swf was created using Captivate, should it?
ASKER CERTIFIED SOLUTION
Avatar of Aneesh Chopra
Aneesh Chopra
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
To avoid the confusion...

you should paste the above mention code on the first frame of root.....
and remove the code on the first frame of "myChildholder"

I hope all would be clear...

Rgds
Aneesh
Avatar of juststeve
juststeve

ASKER

Perfect....Thankx.