flash (macromedia):
Hi there I have a movie clip on frame 65 and I want it to play and then goto frame 66 I forgot the command
on the last frame of you movieclip you can use:
ok not working on frame 65 I have a movie clip inside. and I want to be able to play the small clip (20 frames) and when it's finished I want it to go at frame 66 and stop I tryed that one and it's not working
frame 65 (movie clip) if you double click it you go inside the movie clip of 20 pframes) I have a button that I click that goes to frame 65 (movie clip) (Convert to Symbol --> Movie clip) then I want it to play then I want it to stop at frame 66 that''s it...
Ok, so you have the main timeline stopped on frame 65, where there is a Movieclip which has 20 frames. When this movieclip has finished playing you want the main timeline to advance to frame 66 and stop. Adding the code kglad gave you should do the trick, if you add this to the 20th frame of the Movieclip. Don't forget the .this._parent
nope not working here what I did maybe I am not explaining right On frame 65 I created a movie clip inside frame 65 for which it plays like about 25 frame ok? I then dragged the movie clip from the library and put it on frame 65.. then I want a script to be able to play the script and stop and proceed to frame 66 I tried that thing he gave me but he it's not working it goes thru the frame till the end it's like it's fast forwarding
where'd the onClipEvent(load) come from? that's not the code i gave. remove that.
ok I put that thing u gave me and my clip just plays and stops at the end of the clip. it doesn't go and stop at frame 66 what am I doing wrong?
This sounds simple enough. I'm slightly lost in the dialogue here though. Seems to be missing parts. Here's what you should do: Main Timeline (should also work with a movieclip timeline that holds an additional movieclip): put a stop(); in frame 65 of the actions layer. put a play(); in frame 66 of the actions layer. Second step not always necessary, but I find it helps more often that not. It's better to know that the timeline will play than to just hope so. MovieClip timeline. On the last frame add a stop(); If you want the previous clip to begin playing immediately, add to this last frame in the actions layer this._parent.gotoAndPlay(66); If you want it to be triggered by a button, put this script on the button on(release){ this._parent.gotoAndPlay(66); } If you are using a movieClip as though it were a button, put this script on the movieclip: on(release){ this._parent._parent.gotoAndPlay(66); } That should do it. --KB
Don't see what you're looking for? Try a search.
|