CS3 :: Go Back A Few Frames And Play A MC At A Specific Frame When Hit?

Jul 1, 2009

I'm using Flash CS3 and AC2... I have a button on my main TL and I want to go back a few frames and play a MC at a specific frame when hit.

View 3 Replies


Similar Posts:


Flash 10 :: Export Specific Frames Not All Frame - Specific Timeline

Sep 15, 2010

how do i export specific frames not all frame. ex: if flash has 1 to 200 frames. here i want to export 51 to 150 frames as a movie. if there is any command or plugin to export movie like this.

View 0 Replies

ActionScript 3.0 :: Play Specific Frames Only?

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

ActionScript 3.0 :: Play A Movieclip Between Some Specific Frames?

May 17, 2011

I want to play a movieclip between some specific frames. For example, if the user puts the cursor over a button, it will play from frame 1 and stop at frame 27, when the user roll the cursor out of the button, it will play from frame 28 to 45.

I've tried something like this but of course it didn't work...

gotoAndPlay(1 -27);

View 2 Replies

ActionScript 2.0 :: Play Specific Amount Of Frames?

Oct 8, 2009

I'm looking for a simple way to have a button do 2 things:1. Play main timeline a specific amount of frameshen2. Goto a specific spot in the main timelineHow do I specify how many frames to play before the second bit happens?So far I'm trying to get something like this to do it but what to add in play()

Code:
Main.onRelease = function() {
play();

[code]....

View 1 Replies

ActionScript 3.0 :: Flash Random Frame Between SPECIFIC Frames With NO Repeating

May 31, 2010

I guess its some kind of random array.. but i dont know how to form it, need it for game(dont want same frames repeat its stupid ) And only specific frame numbers(i have motions between specific frame numbers).

View 1 Replies

ActionScript 1/2 :: Set Frames To Play Frame 1, Frame 3, Frame 5

Mar 13, 2011

I hope I can ask this correctly. I'll paraphrase.
 
press_mc.onRelease = function(){
mover2_mc.play()};
 
This is a snippet of some code I'm working on. Currently I have a mc that you press that plays another mc. That mc that reacts has 5 frames, each frame with stop(); on each frame. I do a normal play code because it lets me play through and cycle back to frame 1 after frame 5 (so if I click the mc it eventually cycles back to the first frame and starts the process over again). If I do a nextframe it stops at frame 5, so that's why I use play.
 
press_mc click on it and it tells mover2_mc to advance a frame and recycles back to frame one to redo the process.Can I tell press_mc to play and skip a frame or to have it play a list of frames that I tell? I can't do a _currentframe +2 because it'll halt at frame 5.

View 6 Replies

How To Play A Sound At Specific Frame

May 13, 2009

I have the loading audio file at frame one. However, I want to play the audio only at specific frame or frame lable. How do I do that? Below are my codes:

[Code]...

The above plays the sound as soon as the .swf file is loaded. But I want to play at certain point in time, say frame number or frame lable.

View 17 Replies

ActionScript 3.0 :: Play The Flv To A Specific Frame?

Feb 24, 2012

I have an .flv I need to drop into an .fla and code Cue Point to do the following:Play the flv to a specific frame ( in the flv) and then stop on the frame the flv stops I need a play button to be visible when this play button is clicked it plays the .flv from the frame it is on to a second place on the flv timeline were it needs to stop.same play button will be clicked and the flv will play to the end.

View 0 Replies

ActionScript 1/2 :: Play Mc In A Specific Time Frame From The Outside?

Jul 5, 2010

is it possible to play mc in a specific time frame from the outside??
 
i'm actually making a card matching game and i'm having problem flipping the 1st card back if the cards don't match... i made 2 animation in 1 mc...the first one is to see the behind of the card...and the other one is to turn it back if wrong...
 
so is there a way that i could play the mc of the first card to frame 30 when clicking the 2nd card and they don't match??

View 4 Replies

ActionScript 3.0 :: Getting An External Swf To Play On A Specific Frame?

Nov 9, 2009

I made a flash website and had one page load an external swf.

In this external .swf are thumbnails that link to another page (frame) all within the external swf. when you go to these pages there is a 'back' link which links back to the main external swf frame.

My problem is this: let's say i click a thumbnail in the external swf and it goes to the respective thumbnail page, and then i dont click the 'back' button but instead click another link of the main flash website - then i go back to the page that loads the external swf and instead of going to the main frame of the external swf it stays at the page i was previously on.

How do I get the link on the main flash website which loads the external .swf to always load on the first frame of the external swf?

This is my code for the page that loads the external .swf

var request:URLRequest = new URLRequest("branding.swf");
var loader:Loader = new Loader();
loader.load(request);
loader.x = 0;

[Code]....

View 4 Replies

ActionScript 2.0 :: Play Until Specific Frame And Stop

Aug 18, 2002

How would I do this using actionscript? I was kind of thinking like this:
onClipEvent(enterframe){
if(thecurrentframe=2){
stop();
}}
But I am not completely sure. hat variable would the current frame part be in??

View 10 Replies

ActionScript 3.0 :: Pause First Frame For 20 Frames Before It Starts To Play

May 19, 2010

I am new to Flash and was hoping for some help with an actionscript 3 problem. I have imported an FLV onto my timeline and I wanted to pause the first frame for 20 frames before it starts to play.

View 2 Replies

Flash 10 :: Timeline Play Doesn't Jump Back To First Frame?

Oct 10, 2011

I have two embedded flv's in the timeline, one after the other. There are no errors in the video files. When the "playhead" in the exported swf comes to the end of the two combined videoclips, it jumps back to the first frame of the 2nd video clip for a fraction of a second, before playing from the start of the timeline as it is supposed to. I have explicitly done a "gotoandplay(1) in a separate action layer, at the last frame of the "movie", but that's not what happens.

View 0 Replies

ActionScript 3.0 :: Preload Movie But Can't Play Until A Specific Frame

Jan 14, 2010

I want to preload a movie into my main movie (so I know it's safely loaded fully). BUT I don't want it to start playing until a specific frame in the main movie? Preload movie but can't play until a specific frame

View 5 Replies

ActionScript 2.0 :: Preload Movie But Don't Play Until Specific Frame

Jan 14, 2010

I want to preload a movie into my main movie (so I know it's safely loaded fully). BUT I don't want it to start playing until a specific frame in the main movie?Does anyone know how to do this in actionscript 2.0?

View 2 Replies

ActionScript 3.0 :: Button Play Specific Frame On Timeline?

Feb 19, 2010

how to play the timeline with a simple button

example:

in AS2 you could attached script to button something like

on MouseEvent {
gotoandplay(6);
}

thats all I am trying to do, but in AS3 how do I simply get a button when clicked to go to a frame and play.

View 3 Replies

ActionScript 2.0 :: Play Movie Clip And Go To Specific Frame?

Feb 14, 2012

how to play movie clip and go to specific frame? this is sampel of playing MOVIE CLIP ONLY

"_root.gotoAndPlay("MainMenu")"

but how can i play frame number 40 in that movie clip.

View 9 Replies

ActionScript 2.0 :: Play Until Labelled Frame - Different Frames For Dfferent Buttons?

Jul 24, 2007

how to make a movie clip play UNTIL a certain frame depending on which button is pressed. Logically it would be called playuntilandstop();

View 1 Replies

ActionScript 3.0 :: Play External Swf On Specific Frame On Another Html Page?

Jul 27, 2010

i will send newsletter to client via emailclient clicks on image or link and it will open a specific frame in swfi know we can jump specific frame in html if swf is embed in same htmlbut i am looking for external swf in html to be played on specific frame.

View 1 Replies

ActionScript 2.0 :: Looping Menu - Go Back To Frame And Play From There So It Would Loop All Until The Button Is Clicked

Apr 10, 2010

I've got an intro for a movie,and a single button appears around frame 58,and I've tried giving it a function so it will skip to fram 478 and play the whole movie from there on:

PlayCompl_btn.onRelease = function() {
gotoAndPlay(478);
}

but it keeps saying "statement must appear within handler" and I've got the same problem when the movie reaches frame 477 I want it to go back to frame 58 and play from there so it would loop all until the button is clicked:

PlayCompl_btn.onEnterFrame = function() {
gotoAndPlay(58);
};

View 9 Replies

ActionScript 3.0 :: Make Buttons Within A Movieclip Play From A Specific Frame In Scene 1?

Aug 30, 2011

I have a movie clip on the main timeline. This movieclip has buttons that I want to play different frames in scene 1.
 
At the moment, this is the code I'm using in scene 1.
 
[Code]...
 
I'm getting the error below but have no idea what I should be doing.
 
[Code]...

View 3 Replies

ActionScript 3.0 :: Make Button Instance Containing Movieclip Play Specific Frame?

Sep 27, 2011

What I want to do is have one movieclip that has many frames and turn that into a button and then make different instances of the button and have those instances display a certain frame of the underlying movieclip.

View 17 Replies

ActionScript 3.0 :: Load And Play A Swf File Form A Specific Frame Number?

Jul 14, 2009

i want to load and play a swf file form a specific frame number

So when a swf finishes i want to load another swf file from frame number 6430.
Is it possible or not

View 3 Replies

ActionScript 3.0 :: Play MovieClip On User Click And Stop At Specific Frame?

Sep 16, 2009

I'm using Flash CS4 with AS3. I'm building a website for a friend the problem I have. When a user clicks on a button I want it to play a movie clip then stop at a specfic frame. I want all the buttons to play the same movieclip but go to a different frame.

The current actionscript I am using is located on frame 1 is:
home_btn.addEventListener(MouseEvent.CLICK, homebuttonClicked);
function homebuttonClicked(event:MouseEvent):void{
gotoAndStop(0)
}about_btn.addEventListener(MouseEvent.CLICK, aboutbuttonClicked);
function aboutbuttonClicked(event:MouseEvent):void {
gotoAndStop("aboutme")
[Code] .....

This allows me to navigate to the right frame but does not play for obvious reasons, if I use the gotoAndPlay function its carries on playing to the end of the movie.

View 2 Replies

ActionScript 2.0 :: CS3 Making A MovieClip Play It's Frames, Then Stop On A Main Timeline Frame?

May 12, 2010

I am currently in the middle of making a "sniping" flash game. In the first level there are a series of moving targets which are also movie clips. Inside the movie clip there is a 7 frame animation of the target exploding. Inside that is a tween of the target moving up and down. And inside that there is a plain old button.

What I want to happen is when you click on the moving target it explodes and brings you to a new frame of the main timeline. (ex. Main Timeline frame #27) But I'm pretty sure it thinks I was to play the seven frame animation of it exploding and then go to frame 27 inside the movie clip, rather then frame 27 on the main timeline.

Here's what my AS looks like on the target (ActionScript 2.0 is what I'm using.)

on (press) {
play();
}
on (release){
gotoAndStop(27)}

So how do I make it explode and then take me to frame 27 on the main timeline?

View 3 Replies

IDE :: GotoAndPlay Button - Play Frames 5-10 On A Movie Clip Inside The Current Frame?

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

ActionScript 3.0 :: Movie To Play The Tween That Spans From 25 To 35, Then Stop UNLESS A Button Has Been Clicked Back On Frame 24?

Jan 8, 2010

Normally, I want the movie to play the tween that spans from 25 to 35, then stop UNLESS a button has been clicked back on frame 24 - then I want the tween played from 25 to 35 then jump to 46.Problem is, in the button function code, if I have...gotoAndPlay(25); gotoAndPlay(46);the timeline jumps straight to 46 - it doesn't play 25-35. Why?I tried putting a timer in between the two gotoAndPlays, but itignored that too and jumped to 46.o how do I tell it - 'play from 25-35 and stop, unless but_a was pressed back on Frame 24 - then play 25-35, and then play 46' ?

View 7 Replies

ActionScript 2.0 :: Loading Specific Frames Within Specific Movies

Dec 5, 2004

cutting to the chase, Basically im loading a movie externally using this code...

Code:

on (release) {
if (S_Init == Number(S_Init)) {
loadMovieNum("s_menu.swf", _root.S_Init);

[Code].....

View 4 Replies

ActionScript 2.0 :: Loading Specific Frames Within Specific Movies?

Dec 5, 2004

cutting to the chase, Basically im loading a movie externally using this code...

Code:
on (release) {
if (S_Init == Number(S_Init)) {

[code].....

View 4 Replies







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