ActionScript 2.0 :: Move To Another Frame After FLV File Finishes Playing?

Dec 7, 2009

I have several FLV files that play via the FLV playback component dragged onto the stage. The user presses a button and the appropriate FLV plays.

After it plays I what to move to another frame so the FLV is no longer on the stage and makes way for the next one the user selects.

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Load 1 Swf Per Frame: Move Down TL As Each Swf Finishes Playing?

Jan 22, 2008

I have about 30 very simple external swfs--each contain an image with tweened fades and rollover-to-pause/rollout-to-resume actions. They're loaded onto the main timeline one after another as a slideshow. It's an auto-play and loop: each image swf loads the next one on to the empty movie clip after it is done playing. (i.e., swf1's last frame loads swf2, and so on.)

This set up was fine until I realized that I should have a place-marker--something that indicates where you are in the slideshow. No other functions (go to next/previous) for the marker. I just need to show graphically that you're seeing the 5th of 30 images. The graphic is 30 dark dots that get filled in as you progress.

To do this, I figured it would be easiest if I designate 1 frame per image (=one swf) on the main timeline. So, frame 1 will load 1.swf and when 1.swf finishes, frame 2 will load 2.swf. This will make it easy for me to color in the appropriate dots according to where we are in the slideshow.

What I think I need to figure out is to "pause" at each of the frames on the main timeline until the loaded swf is done playing. They're all different in length--some are 50 frames and some are 90 frames long.

I almost had it figured out from massive googling, but I honestly don't understand it well enough to tweak what I've found to do what I want it to do.

Also, if there is a way that I can easily make the "place marker" work without changing the way it is currently set up (1 frame in main time line; 30 swfs that load one another), that would be even more awesome!

View 10 Replies

Professional :: Playing An External Video File And Upon Video Being Played, Move Onto Next Frame?

Dec 16, 2011

I suppose the title says it all.  I can load an external video file (FLV) and I can have it play.  I also have the custom buttons made to control the clip.  The only thing I have left to do is to have the main timeline move onto frame 2 once the external video reaches its end.  I am using actionscript 3 and flash cs 5.5. 

View 7 Replies

ActionScript 3.0 :: FLV Player Stop Playing When Move To A Different Frame?

Mar 19, 2010

I'm trying to create a small flash website for a Uni project (I'm a music student but they want me to be able to make websites, go figure?) and I am having trouble getting a video to stop playing when i goto another frame. Im using the FLV player from Window>Componants and i have named it PubPlayer. I've tried setting its source to Null, Using .stop() and even setting its volume to 0 but everytime i goto another frame it keeps playing.Im gettingTypeError: Error #1009: Cannot access a property or method of a null object reference.at AlbumsEps_fla::MainTimeline/GoAlbum()My code is as followsQuote:

stop();
PubPlayer.source = "Machines.f4v";
function GoHome(event:MouseEvent):void {

[code].....

View 4 Replies

ActionScript 2.0 :: Mc To Move Onto Frame 2 When An Imported Mp3 Starts Playing

Jul 16, 2003

i want a mc to move onto frame 2 when an imported mp3 starts playing. i've found :

[Code]...

View 7 Replies

ActionScript 3.0 :: Slider_mc To Move On Y When Each Sound Finishes?

Feb 2, 2009

I've got a movieclip (slider_mc) -- it's two 800x150 rectangles spaced 450 pxls apart on y. (Stage is 800x600).I load in the sounds, then when each sound is finished playing it launches a function that plays the next sound, this works fine. I'd like slider_mc to move on y when each sound finishes. The first tween works like it should, but nothing happens when playSound_02 is launched -- the sound plays but the tween doesn't work.Here's my code:

import fl.transitions.Tween;
import fl.transitions.easing.*;
import fl.transitions.TweenEvent;

[code]......

View 1 Replies

Actionscript 3 :: GotoAndPlay After Video Finishes Playing?

Apr 3, 2012

I have loaded a video wit this code

var video:Video = new Video(1440, 900);
addChild(video);
var nc:NetConnection = new NetConnection();[code].........

I need to perform a "gotoAndPlay" to go to another frame or scene after the video finishes playing.

View 1 Replies

ActionScript 3.0 :: Detect When Flv Finishes Playing And Hide It?

Jan 20, 2011

I'm working on this project here: [URL]

You can see that when you click on the top left menu item, I play a new flv that transitions to a white screen.

How would I go about detecting when that flv has finished playing and then hide it?

video1 is the video in question.
import fl.video.*;
import flash.events.MouseEvent;
import flash.media.Sound;

[Code].....

View 1 Replies

ActionScript 2.0 :: Disable Arrow Key Until Sound Finishes Playing?

Mar 10, 2008

I'm trying to make the UP arrow key disabled until a sound has finished playing. Is this possible?This is because other keys also play sounds and I don't want the sounds overlapping each other. Thus I'd also be trying to disable those keys as well whilst a sound is playing.

[code]...

View 1 Replies

IDE :: Make A Movieclip Finishes Playing Before Executing The Next Line Of Code?

Mar 30, 2009

I've created an movieclip button that onRelease: moves to the highest depth and expands to the entire page and onRelease again: contracts to a thumbnail and moves to a lower depth.'ve got the animation working. However, I'd like the movieclip to finish playing the contracting to a thumbnail animation to the end before moving to a lower depth. Here's a concatenated version of the code://Variable that I set to know when the button was clicked first to expand.

_global.releaseOut;
mc1.onRelease = function()
{

[code].....

View 2 Replies

IDE :: File Starts Playing At Last Frame Of Mc?

Nov 2, 2009

Weird problem going on right now. And I seriously don't know what this is about.

On my main timeline (new document)

I create a text. I convert that text to an image. I drag that image on my main timeline at frame 1.

Then I set opacity to 0%. Create a keyframe at frame 50. Then I Tween it. And at frame 50, I set opactity back to 100%.

When I test the movie (ctrl enter) it just doesnt show the tween AT ALL. It goes straight to the last frame.

When I just go to frame 1, and press enter. It does work like it's supposed to.

View 3 Replies

ActionScript 1/2 :: GotoAndPlay Next Frame After External FLV Finishes

Jul 31, 2009

The subject title pretty much tells it all. I've got a flash project where a video component plays an external flv file. I've got a different flv file loaded at each keyframe. Right now the flv plays and then it stops and waits for you to click on the next video you want to watch. I want it to automatically go to the next keyframe and start the next video.

View 5 Replies

ActionScript 3 :: How To Play Next Frame After Video Finishes

Jun 15, 2011

I have a 15 second video that's not embedded (it's sourced from an url). How can I get it to play the next frame when then video is finished?

View 2 Replies

ActionScript 3.0 :: After MovieClip Finishes GotoAndPlay Frame?

Apr 1, 2010

How to jump to a frame (gotoAndPlay) on the ROOT (or any frame anywhere) right after a movie clip is done playing. This is AS3 on Flash CS4.

View 9 Replies

Actionscript 3.0 :: Preloader Finishes At Last Frame Of Movie?

May 28, 2009

I just followed the Preloader AS3 tut, and it works! Unlike the other sites

I have Flash CS4 AS3, and when the preloader is finished, it takes me to the end of my movie.

I'm a total beginner at this, since I've only been using Flash for about two days now , but I learn extremely fast !

In very simple terms, please explain how I can start the movie from the beginning when the preloader is done.

Also I had problems locating the URL to the swf. I kept getting "can't locate URL" when I inserted "bones.swf" for the URL request. I had to paste my files into the folder created in the tutorial for it to work. What is the difference between the folder I created and the one created in the tutorial that allowed AS to recognize the URL?

Here's my script:

var l:Loader = new Loader();
l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loop);
l.contentLoaderInfo.addEventListener(Event.COMPLETE, done);
l.load(new URLRequest("bones.swf"));

[Code]....

View 2 Replies

ActionScript 1/2 :: GotoAndPlay Next Frame After External Flv Finishes?

Jul 28, 2003

The subject title pretty much tells it all. I've got a flash project where a video component plays an external flv file. I've got a different flv file loaded at each keyframe. Right now the flv plays and then it stops and waits for you to click on the next video you want to watch

View 1 Replies

ActionScript 3.0 :: After Movie Clip Finishes, Go To And Play Frame?

Apr 1, 2010

how to jump to a frame (gotoAndPlay) on the ROOT (or any frame anywhere) right after (EDIT) a VIDEO CLIP is done playing.

View 1 Replies

ActionScript 3.0 :: Flash To Hold On Frame Till Sound Finishes

Apr 22, 2009

I'd like to know if there's a wait to have flash hold on a frame till a sound finishes playing. I'm guessing that this will require some sort of EventListener but I'm pretty new to AS 3.0 and I'm not sure how to do it. I've searched the forms but cant seem to find anything on how to achieve this either, but I think thats because I'm not sure of the correct terminology.

View 2 Replies

ActionScript 2.0 :: Sound Flash - When The Audio Finishes It Goes To The Next Frame Automatically

Jan 28, 2010

I am trying to make a webinar in flash, I have frames and in those frames I need to insert audio and when the audio finishes it goes to the next frame automatically. but I also have a menu bar and when I click on a button to take me to a frame i get a whole load of audio going on. I just need it to go to that frame and play the audio Just want to be able to have it play though, when the audio finishes it goes to the next frame or if i click a button on the menu it takes me to the frame i need,

View 1 Replies

ActionScript 3.0 :: Loaded Swf Tell The Parent Loader To Unload Itself After The Loaded Swf Finishes Playing?

Sep 23, 2010

I have a shell swf that is loading a swf. How do you have the loaded swf tell the parent loader to unload itself after the loaded swf finishes playing?

View 4 Replies

ActionScript 3.0 :: External Loaded Swf Completes Playing Should Jump To Main File Specific Frame

Nov 28, 2009

when a external swf file gets loaded into main swf file, i need to detect while playing external file reach to end so that i can unload that file and move to another frame on root of main file. I am not getting how to identify external swf play reach to end so that i can unload swf and jump to root specific frame of main swf.

View 1 Replies

ActionScript 2.0 :: SWF File Play After The FLV Finishes In MC?

Aug 13, 2009

how to write script how to get the SWF file to pop up after the FLV video finishes..at the end of the FLV video I only need the SWF to pop up..

View 16 Replies

C# :: Stalling Program Until JSFL File Finishes

Sep 6, 2011

I am trying to run a JSFL script from within a C# project, where the JSFL script opens up a .fla file, modifies it n times, and exports n .swf files before closing. From the C# project, I am starting up the JSFL script through the Process class. I try to wait for the JSFL process to finish through the myProcess.WaitForExit() command, but it doesn't work. The remainder of my code C# executes before the JSFL process finishes exporting its .swf files. Is there any way I can throw something that the C# project can catch from the JSFL file or some other solution?

View 2 Replies

ActionScript 3.0 :: Possible To Know Full Length Of File Before Download Finishes

Jun 25, 2009

I am having some problems with buffering sounds. I am doing a MP3 player for my site and everything seems ok except that I can't get the full length of a sound before it finishes downloading/buffering and it's messing my progressBar. That's my code:
position = (soundChannel.position / sound.length);
Sound.length returns the total length of the downloaded data at the moment and not the full length of my Mp3 file.

Let's say I have 1 minute long Mp3 file and I only downloaded 30secs of it, if my playback reaches 15secs of the sound, it will say that I am at 50% of the song and not 25%. Is there anyway to know the full length of a file before it finishes downloading? So I can make a buffer download progress bar (like youTube does, so you know how much u have downloaded) and a songProgressBar. I've read some things about the NetStream class but I don't know if it will solve my problem. I don't have Flash media server.. it would load the file form the local file system.

View 2 Replies

ActionScript 3.0 :: When The Swf File Opens And When It Finishes An Image Appears With Some Buttons On It

Dec 17, 2009

I am trying to have a video (New CLip.flv) start when the swf file opens and when it finsihes an image appears with some buttons on it (AS on frame 2). However I keep getting the following error:

[Code]...

View 1 Replies

CS3 Delay - Button To Play Frame 10 To 40 Then After Playing From Frame 10-40 The Movie Stops

Jul 3, 2010

how to code this on a button

onrelease
gotoandplay(10); // i need delay here before activating the next code below//
gotoandplay(80);

the trick is.. i want the button to play frame 10 to 40 then after playing from frame 10-40 the movie stops and then play frame 80 to 100

View 4 Replies

Actionscript 3 :: Stop Movie (from Current Frame) Playing When I Click On Next Frame?

Apr 8, 2010

I have four movie clips (.f4v) in 4 frames in a movie with watch buttons.. This movie has them been imported into a main movie container that has next and previous buttons. However if i play a movie then hit next frame, the movie continues to play in the background. The code below shows one of the actionscripts for a movie clip and then the main actionscript in the main movie.[code]...

View 1 Replies

ActionScript 3.0 :: Move Onto The Next Frame In My Timeline Is Located At The End Frame Of A 10 Second Animation?

May 26, 2010

I'm still struggling with going from a loaded swf to the next frame in my timeline, where a new swf file will be loaded.Ths is my current code which is trying to move onto the next frame in my timeline is located at the end Frame of a 10 second animation:

[Code]...

View 3 Replies

ActionScript 2.0 :: Playing A Movie Clip From A Certain Frame To A Certain Frame With A Button

Jan 7, 2009

I have an invisible button and only one mc, the mc loops 3x then stops, this is defined with as in mc.

Now i want to play the movie from the invisible button but only loop it once. Which means i would like to play it from frame 1 to frame 215.

And also when u rollout i would like the movie to stop and go to frame 1.

this is my button code so far

Code:
on (rollOver) {
tellTarget ("loader")
{

[Code]......

View 12 Replies

ActionScript 3.0 :: Stop The Background Song On Frame 1 And Have Frame 2 Playing?

Aug 7, 2010

I have 5 frames in which a different song will be playing, this is the code i used on each frame:

var mySound:Sound = new Sound();mySound.load(new URLRequest("frameone.mp3"));mySound.play();

If im on frame 1 and click on the navigation button to see frame 2, both songs on these frames play simultaniously. how can i stop the background song on frame 1, and have frame 2 playing?

View 11 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved