This content has been marked as final.
Show 4 replies
-
1. Re: Trigger 'Next-Frame' on Movie Clip End
clbeech Jan 11, 2008 9:54 AM (in response to redtiger)if you are using the FLVPlayback component (which would be best) you could set a listener for the 'complete' event and then call to the main timeline to advance to the next frame. However, you could also keep the FLV files externally, and load then into the FLV component reducing the file size of the swf, then on the triggering of the complete even you would call a method to load the next FLV file.
However if you have a FLVPlayback component on each frame, and you wish to advance the root timeline, in the actions layer for each frame use a listener for the complete event, like so:
(or if in the last frame of the main timeline use: _level0.gotoAndStop(1); )
-
2. Re: Trigger 'Next-Frame' on Movie Clip End
redtiger Jan 11, 2008 10:01 AM (in response to redtiger)I'm using a FLVPlayback component for each frame and the video files are kept externally. I'm not very familiar with actionscript. I'll give you $50 paypal if you can send me an example or I can send you the files and you can do the code for me? Thanks. -
3. Re: Trigger 'Next-Frame' on Movie Clip End
clbeech Jan 11, 2008 10:24 AM (in response to redtiger)hey red, I could so something for you, but why don't you send me the just the fla file first so I can see where your at.
send to: chris@beechstudios.com -
4. Re: Trigger 'Next-Frame' on Movie Clip End
tx_drew Jan 14, 2008 7:58 AM (in response to clbeech)cbeech-
I'm a new user and came across this posting. I have a .fla file that is calling an external .flv file and playing it. I'm trying to get it to go to another frame to show my contact information but that's where I get caught up. Here is the code that is being used:
frame 1 =
display.playPauseButton = display_PlayPause;
display.volumeBar = display_VolumeBar;
display.seekBar = display_seek;
display.contentPath = "life2.flv";
frame 130=
display.play();
frame 135=
stop ();
Now, I have added 'HELLO' to frame 136 but I cannot get it to advance. I've tried copying and pasting your code UNDER 'stop (); in frame 135 but it still doesn't work. Can you provide some insight as to what I'm doing wrong?
drew