IDE :: Go To A Frame When FLV Has Finish Playing?

Mar 2, 2009

Ive got a standard flash file with the option to play one of three FLVs and when each flv is clicked it makes the others stop.What I need to do is set an action so that when an flv reaches the end of its duration it goes to a specific frame in the timeline?

ps. here is my code

Code:
stop();
import flash.events.MouseEvent;
import flash.media.SoundMixer;

[code]....

View 1 Replies


Similar Posts:


ActionScript 3.0 :: Go To A Frame When FLV Has Finish Playing?

Mar 2, 2009

Ive got a standard flash file with the option to play one of three FLVs and when each flv is clicked it makes the others stop.

What I need to do is set an action so that when an flv reaches the end of its duration it goes to a specific frame in the timeline?

ps. here is my code

Code:
stop();
import flash.events.MouseEvent;
import flash.media.SoundMixer;

[Code]....

View 5 Replies

ActionScript 2.0 :: Movie Clip Finish Playing When A Button Is Clicked And Then Go To The Frame Label Associated With The Button

Jun 2, 2011

Anyway what I need to do is have a movie clip finish playing when a button is clicked and then go to the frame label associated with the button. I hope I'm explaining myself ok. So if I had say 4 buttons Home Gallery About Contact If Contact is clicked then I want the Home page to play (Which is a fade out) and then go to Contact Page (which will fade in). Then If Gallery is clicked then I want Contact to fade out and then go to Gallery page and fade in.

View 6 Replies

ActionScript 2.0 :: Action On Frame When External FLV Movie Finish Go To Next Frame

Sep 27, 2011

I'm new to actions script. I creating a presentation in which I'm loading external FLV movie files. I have a Navigation menu to go to the different chapters (every chapter is a FLV movie File)This is what I need, when a FLV movie finish I need some action in the frame to take me to next frame where I have the next FLV chapter.if is any help I upload a sample FLA with some FLV for reference.

View 9 Replies

ActionScript 3.0 :: Action When On Frame External FLV Movie Finish Go To Next Frame

Sep 27, 2011

I creating a presentation in which I'm loading external FLV movie files. I have a Navigation menu to go to the different chapters (every chapter is a FLV movie File) what I need? = when a FLV movie finish I need some action in the frame to take me to next frame where I have the next FLV chapter.I upload a sample FLA with some FLV for reference.

View 4 Replies

ActionScript 3.0 :: Remove Child When Finish Playing?

Nov 2, 2011

I have a movieclip with timeline which was suppose to play when stage.addchild() is triggered, the instance will be from the library and when the movieclip finished playing its time line, the stage.removechild() will be trigger to remove the movieclip....What script should i add in order to detact when the instance of the addchild finish playing its timeline?

View 4 Replies

ActionScript 3.0 :: Finish Playing Movieclip Before Going To Particular Scene?

Jun 27, 2010

Basically I'm doing a flash website for my 3D animations. Once my intro animation ends my menu comes up which is within a main movieclip called menustage_mc and within that movieclip is a bunch of movieclips acting as buttons to navigate through the site and their animation.When you press on a button it will move to a particular scene. I'm using multiple scenes so i don't clutter the main timeline for myself. I've read a couple of posts saying that i shouldn't use multiple scenes but there is no explanation as to why. I'm assuming i should add and remove movieclips but i'm very new to actionscript and in particular as3 but that's a different question somewhere down the line.

My problem is that when i click on a button for example sketches, i want to finish playing the menustage_mc animation and then go to the sketches scene. However i'm trying different variations and am not getting any success. There are instances where the animation plays but then doesn't go to the next scene. Another instance is that it goes straight to the selected scene but doesn't finish playing the menustage_mc.So all I really want to do is finish playing the menustage_mc animation before it goes to the correct scene? I have seen things where I can go the menustage_mc and put nextScene(); on the final frame but it's not what i am really aiming to do.

View 0 Replies

ActionScript 3.0 :: MP3 Player - Trigger Event When Track Finish Playing

Feb 2, 2010

I'm working on an mp3 player. I want to trigger an event when the track finishes playing. I've created a function that will just trace a statement so that I know the event listener is working, but I can't seem to get it to trigger. Here is the playSong function in which the code is used:

Code:
function playSong(mySong:Number):void {
var myURL = my_songs[mySong].@URL;
playingTra = mySong;
current_song = mySong;
my_sound = new Sound();
[Code] .....

I tried to add in the following lines, but that instead institutes some playback issues:
Code:
if (my_channel){
my_channel.stop();
my_channel.removeEventListener(Event.SOUND_COMPLETE, stuff);
}

View 3 Replies

ActionScript 2.0 :: Initiate An Action When Movie Clips Finish Playing?

Feb 26, 2007

I have a main movie called home.fla. In this movie I only have one frame and I have place 5 different movie clips (not SWF) on this frame at different positions but on the same layer. These five movie clips are named mc_main1, c_main2.Each of these movie clips contains 5 frames, with a button on each frame. Each of these buttons also has a movie clip inside them (mc_sub1 mc_sub5). You can only go from frame 1 to frame 2 of each clip (main1, main2 etc.) my clicking on the button on frame1.The user can go to any of the main movie clips in whichever sequence they want. For example, they can choose to go to clip main3 and click on it twice (this will take the user till frame 3 of main3 and play the movie clip that is inside frame3) and then they can decide to click on main1 once and then main4 three times until they have visited all the parts of (all the 25 mc_sub) all the movie clips (main1 main5).

Once the user has visited all the 25 mc_sub i.e. once they have finished going thru all the 5 main movie clips completely, I want to display an animation (mc_animation) on the frame1 or any other frame of the home.fla movie.Is there away to determine if the user has finished watching all the 25 mc_sub i.e. if the user has gone thru each and every frame of each of the mc_main movieclips.I think the problem is that since the user can select any of the mc_main clips in any sequence, I am finding it difficult to determine when they have finished going through everything. If it was all in a sequence then I know I could have calculated if the current frame is equal to total frames and then I would have displayed the animation if the above was true; but that is not the case here.

View 3 Replies

ActionScript 2.0 :: Make Movie Clips Return To Scene 1 After They Finish Playing?

May 26, 2010

I have 6 scenes, the first scene has 5 pictures that i converted to buttons. each button goes to a different scene to play the appropriate movie clip. right now it shows up with scene 1, then i click on the button and it goes to the appropriate movie clip but after it finishes playing it just goes to the next clip on the next scene, then after it is finished it goes to the next clip on the next scene and so on. i would like to know is there some way i can make the movie clips return to scene 1 after they finish playing?

View 1 Replies

ActionScript 3.0 :: Event To Detect Frame Animation Finish

Aug 1, 2011

I'm new for flash. I would like to know I need to fire what event which can detect frame animation finish? I need to pass a parameter from swf to flex to inform frame animation finish.

View 2 Replies

ActionScript 2.0 :: Movieclip In Frame 1 Scene 1 To Finish Before Skipping To Frame 2 Scene 1

Dec 24, 2003

I want the movieclip in Frame 1 Scene 1 to finish before skipping to Frame 2 Scene 1 im using gotoAndStop("Scene 1", 2); at the end of the MC

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 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

ActionScript 2.0 :: Stay On One Frame For 10second And Second Playing Next Frame

Aug 17, 2005

i want my movie to stay on one frame for 10second and second playing the next frame.

View 3 Replies

IDE :: Playing Until Certain Frame?

Oct 15, 2009

I was wondering if it's possible to set up a listener that is triggered when a movieclip hits a certain frame number.

I was thinking it would go something like this:

myClip.addEventListener(Event.ENTERFRAME, frameListener);
function frameListener(e:event):void {
if(myClip.currentFrame == 26){

[Code].....

View 1 Replies

ActionScript 2.0 :: After .flv Is Done Playing And Go To Frame

Sep 24, 2010

A.swf has an empty_mc on it's stage. Loading into the empty_mc is B.swf. B.swf plays C.flv. After the C.flv is done playing I want B.swf to tell A.swf to go to frame 3

View 1 Replies

Going To Next Frame After FLVPlayback Is Done Playing?

Jun 9, 2009

Flash CS3, and I have an FLV video(40 seconds) and a postcard which I want to show in the video farme after the video is complete. The postcard at the end will a link to a URL I've tried all the codes I could find on the internet, but I couldnt accomplish anything. I must be doing something wrong. Here is what I am doing:I put a FLVPlayback component in the first frame on the stage. Give the FLVPlayback component an instance name.Link the FLVPlayback component to a flv file on my server.Put the postcard in the second frame on the stage

View 12 Replies

ActionScript 2.0 :: Playing Sprites On Key Frame

Feb 17, 2009

I am trying to do some scripting in flash. I have some sprites and need them to playing one by one in the main, one in each frame. Then when they are complete let the movie move on to the next frame. how can I do this?

View 1 Replies

ActionScript 3.0 :: Start Playing On Other Than First Frame?

Sep 1, 2009

How do I make a flash website begin on a frame other than number 1? I hope there's a way to do this.

View 3 Replies

ActionScript 3.0 :: Playing Frame Twice Is Not Working?

Oct 23, 2011

i have a main page that works perfectly wen i just open my site, in it are buttons that takes me to three other minor pages, there are buttons in the minor pages that takes you back to the main page. when i click on these buttons and get i succesfully get to the mainpage, the codes don't work anymore and i cant click on the buttons to go to the minor pages.this is the code i use:

stop();
buttons.buttonmotion.addEventListener(MouseEvent.CLICK, klk);
function klk(event:MouseEvent):void {
gotoAndPlay("motionreal");

[code]....

View 3 Replies

Flash :: Adobe - Playing From A Certain Frame

Dec 14, 2011

So I'm creating a movie clip using flash... Is there any way to start playing the movie from a certain frame (lets say frame 550) which I hit Ctrl + Enter So I don't have to watch the entire movie to test it?gotoAndPlay(550) doesn't work.

View 2 Replies

Actionscript 2.0 :: Goto Frame After Playing?

Apr 1, 2009

I want to some how be able to play through time line after a button is clicked and then goto a specific location. Though this location does not stay the same each time.I'm creating a gallery which will have 3 sections and want thumbnails to fade in, then when you click another sections they (play) a fadeout and then goto a specified location (after a button click).If the purpose is not clear, comment and I will try and clarify.

View 1 Replies

ActionScript 2.0 :: Playing To A Specific Frame?

Mar 29, 2007

Lets say i had an animation and i also had four buttons. The animation would have 4 frame labels at different areas of the timeline. For example:

"Label 1" "Label 2" "Label 3" "Label 4"

now if i'm on the "Label 1" frame and i hit button 3. I'd like to have the animation play until it reaches "Label 3". Also if I were at "Label 4" and hit button 1, I would want it to play backwards to "Label 1" OR maybe it could either play through to the end and loop back depending on which way is closer.

I don't know if this is really possible. I know each labeled frame would require a stop() action, but i'm not sure how to make something play until it reaches a specified destination frame.

View 5 Replies

IDE :: Stop FLV Playing When Exit Frame?

Feb 8, 2008

audio of a movie playing when I exit the frame - it's probably something simple that is yet evading me ...

The FLV works just fine, auto plays when entering the frame and uses a preset skin. The frame it's playing on has AS code stop(); on it.

View 6 Replies

ActionScript 2.0 :: Playing A Specific Frame?

Jul 30, 2008

I am using the following actionscript to load a external swf. I would like to actually start playing that movie at a specific location based on what is already loaded. I am using this tutorial here. what I want but basically lets say I have three swf's. A, B, C.

If I go from A to B I use this AS

Code:

B_bt.onRelease = function() {
if (_root.currMovie == undefined) {
_root.currMovie = "B"; container.loadMovie("B.swf");
} else if (_root.currMovie != "B") {

[Code]....

View 10 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 2.0 :: Jump To Frame After FLV Finished Playing?

Nov 5, 2008

I am using actionscript 2 and I am trying to get my FLV to jump another frame in my flash movie after it's finished playing. I am using the FLV component that comes in flash to play the FLV and i've embedded an event cue point in the FLV but I am not sure what I am now supposed to do!

View 9 Replies







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