ActionScript 2.0 :: Play X Frames Then Load Movie?
Dec 3, 2003
I am trying to load a movie without using a frame script. Basically I have the below AS to load the movie (which works fine)
However I want to play frames "40-47" then load home.swf.
I understand I could have it just goto and play frame 40 with a load home.swf frame script on frame 47. But this does not work for what I am trying.
on (release) {
this._parent.content.loadMovie("home.swf");
}
View 1 Replies
Similar Posts:
Dec 20, 2010
Im trying to create a motion where as when you select a object from the home page all the objects slide out and off screen before the new content loads.
Ive got it set up so that it all loads into a swfLOADER. Is their a way that i can make it gotoAndPlay an out phrase before loading in the next content on the swfLOADER. I dont even know if what im trying to do is possible?
Have not sucseeded so far as it just wipes the page before playing the out phase. Is their any way that i can make this work??
currently got it saying on release gotoAndPlay "out" and then on the next line loadMovie "about"
View 4 Replies
Aug 4, 2010
I'm interested in having my flash movie play at say, frame 50 and then if you refresh - it will again select a predefined (but randomly selected) frame to play from.So, the order could be as follows:
Refresh - frame 50
Refresh - frame 150
Refresh - frame 150
[code]....
View 2 Replies
Nov 4, 2009
I've set up my flash movie to play and stop at certain frames in the movie. I'd like to add a pause button to pause the movie anywhere in the timeline or animation and then resume from spot it's paused on. This is for a presentation.
View 1 Replies
Dec 1, 2004
give me the actionscript for a bar that has a play and stop button to play and stop frames in a flash movie. i would be gratefull if you could as i am really stuck
View 2 Replies
Feb 11, 2010
I'm very new to flash and even though i'm capable of using the search function and finding posts which look relevant i don't really understand them, most notably i am only familiar with controlling a movie clip with buttons within the movie clip symbol and i get confused by actionscript that seems to do otherwise.
Within a frame on my main stage i have a movie clip symbol of around 125 frames. To control this movie clip symbol i have 4 button symbols within the movie clip symbol. The actionscript code that runs throughout this movie looks like this[code]...
This leads to free frame by frame navigation using the buttons forward_btn and backward_btn and if you'd like to move to set points in the animation you can use the fastforward_btn which plays the movie clip forwards until it hits a stop command on one of my chosen frames.
What i'd like to do is have a button that plays the frames backwards until it hits these frames. Is there a combination of while loops and prevFrame() i can use or anything straight forward?
View 1 Replies
May 26, 2009
I have a movie clip on a scene with a button inside. How can I make this button to go to play frames on the scene but not inside the movie clip in AS3.0?
View 7 Replies
Nov 23, 2009
is there anyway to have a button play frames 5-10 on a movie clip inside the current frame, as well as skipping to...lets say...frame 10 of the scene?
i want to create a site where buttons go to different pages, but those pages have animations in and out.so if someone is in one page, and clicks a button to go to another, that page plays the "out" animation while the other page plays the "in" animation.
View 1 Replies
Feb 9, 2010
I have seen flash sites that wait to load different parts of the flash file until you click on a link, thereby starting a loading graphic that then loads the content you're looking for. I can't find any information on how to do this, and I'm guessing I just can't find the right terminology.
View 11 Replies
Nov 30, 2005
how they make this reverse play animation...
the one that [URL] did on their previous site design...
View 3 Replies
Mar 30, 2009
I am doing a website for my brother, and he created a movie, which he sent to me as a flash movie. I have it on the first page of the site, as an intro. ([URL]). What I would like is that the whole movie loads before it starts to play.
View 2 Replies
Nov 3, 2010
I'm trying to play an movieclip, then load an external swf. This all should happen after a tween.[code]
View 1 Replies
Jan 6, 2011
how would you play the next 5 frames if the space bar was clicked and then stop the playhead?
View 4 Replies
Oct 24, 2011
How can I load movie(1.swf) into the current file and make it go play the specific cue point (of the child's file)?
on (release) {
loadMovieNum("1.swf",0);
// Seek to Cue Name Behavior
[Code]....
View 1 Replies
Nov 24, 2011
basically im making a quiz on my main timeline ive got my questions and answers and on the last frame i want it to say how many answers the user got right. ive made a movie clip on this last frame. in the movie clip ive got 11 frames with the posible totals so frame one would be 0/10 frame 2 would be 1/10 etc what i want to do is when the user clicks the correct answer on the other frames i want flash to make the frames within the movie clip to go 1 step forward.
View 2 Replies
Nov 15, 2010
I am migrating from Flash MX to Flash CS5 Pro. Is there a way to load a movie into the flash player and play it to a viewer without installing the adobe server software and the price that goes with it? Is there a way to just have the movie file stored on the server and just get the flash player to call the file and buffer it?
View 5 Replies
Dec 17, 2009
Is it possible for a movie to stop until an external file has fully loaded at which point the main movie will then play?
View 1 Replies
Aug 31, 2003
i have three buttons. each time i press one of them i tell them to play the same mc. at the end of that mc i want to (depending on which button has been hit) load either movie 1, 2 or 3, corresponding to button 1, 2 and 3.
View 3 Replies
Feb 3, 2009
I want to have a movie load and play in the timeline, when a frame is entered. I know about the enterFrame function, but don't know how to apply it.
View 9 Replies
Apr 14, 2005
I have an mp3 exported for actionscript with the linkage name bgmusic.When I play the sound using a sound object, it works fine.However, I take that same .swf and load it into another movie and the thing breaks... the sound doesn't play.How do I fix the linkage so that it'll play again?
View 5 Replies
Jul 18, 2006
All works fine untill I do something to the loaded swf.For example if I click a button on the loaded swf the button works but then when I click the button on the main movie to load the next and play the transition the transistion doesnt work.If I dont do anything to the loaded swf the transitions work.Is it something to do with the paths being changed when the loaded swf is acivated?
View 2 Replies
Sep 21, 2010
I like to play external preloader before it's load original movie index.swf.But I have a problem on resizing index movie.
Here is preload AS3 code:
package
{
import flash.display.*
import flash.display.MovieClip;
[code]....
View 1 Replies
Jul 14, 2011
How can I mention in the actionscript 3 that the movie clip on frame no. 10 should play after the webpage loads (or after 1 minute)? then stops? The code would be on Frame no. 1.
View 3 Replies
Jun 14, 2010
So I've got a little platform character and basically I want it so when he moves left or he moves right, he will both: A) Move left or right B) Play the running animation
Moving left and right is down with no problems. However its the running animation part I can't get.
Code:
onClipEvent(load){
gotoAndStop(14); //Idle stance frame
}
[Code]....
it's not going to work because it's going to keep playing frame 1 over and over again instead of playing it to frame 6.
View 3 Replies
Mar 11, 2010
I wane use my button to play a set of frames, let say from scene "apple" to scene "orange" , i used
gotoAndPlay("apple")
and then immideatly
gotoAndStop("orange")
but obviously it doesn't work, because it skip the transition in-between. I am not a pro in AS3 guys they question may sound funny,
View 1 Replies
Jan 30, 2010
Basically, I have my main set of menu buttons for navigating my site. For argument sake let's call them:
menu1, menu2, menu3, menu 4 etc. , where menu1 takes you to scene1, menu2 to scene2 etc.
Each scene morhphs into the next, so instead of simply having gotoAndStop("scene 1"), I would like the movie to play until it reaches the desired scene. I guess one way of thinking of it, is that it's a bit like coverflow in itunes.
That's stage one of the question - if I can at least get that far I'd be happy. But to add one level of complexity, I would love it to also play in reverse if you're going say from scene4 to scene1. Again, similar to cover flow.
View 1 Replies
May 24, 2010
i made a full site all based in flash and divided the pages in scenes
i need a button to do exact that. when u click the button it must play some frames and then go to other scene.
i can't tell to go to other scene in the last frame because there are a lot of scenes and buttons that have to do the same.
15 buttons - 15 scenes - play 30 frames and then change the button-scene!
View 7 Replies
Mar 17, 2011
I recently came across this script which I believe I have used before. However, I can seem to recall how to use it right as I can't get it to work. It is suppose to play the frames at random and not repeat any. Once that takes place I want it continue that cycle over and over. [code]...
View 4 Replies
Oct 21, 2008
I have a button that when clicked on, it enlarges and shows content inside the button. Now, there is more content inside this button that when clicked on, enlarges and shows more content. I have all that working fine.How can I create a "back" button that will play the same frames that I created my animation in, but play them in reverse to get the same animation but back. Is this the correct way of doing it, or do I need to create animated transitions for the reverse state as well.?
View 12 Replies
Feb 12, 2009
I have several labeled clips in my timeline for a website i am making. the clips are in and out transitions and are labeled like this: home_in, home_out, products_in, products_out, contact_in, contact_out, etc. so, my button code is like this:
[CODE]....
View 2 Replies