Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Movie Clip Control

Status
Not open for further replies.

brainpudding

Technical User
Sep 29, 2002
84
US
What i amtrying to do is i have 2 movies in the same swf I want it so when movie "A" gets to a certain frame it tells movie "B" to go to and play frame"X" and i tried the onenterFrame but it didnt work

A = setmovie
B = PPmovie
X = Frame label "PP1000"
 
in the certain frame in A add to the frame actions

_root.B.gotoAndPlay(X);
 
1st make sure the instances of the clips have a name (do this in the properties inspector). just to make sure you can address one from the other.
then double-click clip setmovie to be able to put some script in setmovie's timeline. at the point where you want to start PPmovie from click into the timeline and press F6 to generate a keyframe. then open the actionscript-window and write:
Code:
_parent.PPmovie.gotoAndPlay("PP1000");

go to the main timeline again and test the movie,
i think it should work now ;-)

...and don't forget to put some stop(); on the timeline of PPmovie at the point you want to stop it. otherwise it will run whether you give it the command to do or not.
regards

Firegambler
 
:) :) looks like two people workin' on the same thread at the same time :) regards

Firegambler
 
well... i think the probability now is relative high that it is a correct one ;-) regards

Firegambler
 
aehm... bill? would you mind helpin' me with my preloader problem i posted in thread250-508334 [thumbsup2]? regards

Firegambler
 
Yeah that worked Thanks guys .. ill get better at this stuff eventually LOL
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top