ActionScript 2.0 :: Bi-lingual Pathway - Call Up A MovieClip To Play From Frame 10, And Not Frame 1?

Mar 8, 2005

I'd like my Flash site to be bi-lingual. What I have currently is a Flash movie with an empty Movie Clip which then allows users to go from movie to movie. The movies are all small movieClips that are loaded into the empty movieclip on demand. There is some video and text in each of the 30 movieClips.
Here is sample of code that i'm using to call up next MovieClip.

[Code]...

My solution for the bilingual version is to create a separate frame with the French version + video and then when user presses the French button they are directed to that frame. This way I could easily create the French text within the one movie. however i don't know the Actionscript code to call up a movieClip to play from frame 10, and not frame 1.

View 3 Replies


Similar Posts:


ActionScript 2.0 :: Make A Simple Movie (call It MovieClip) First Frame Has Stop(); Action, Second Frame Has Label PlayMovie?

Nov 6, 2006

1. I make a simple movie (call it movieClip) first frame has stop(); action, second frame has label playMovie, last frame has action gotoAndPlay(2); (so that movie not stop anymore2. Now I place movieClip on stage3. Question... what is code to make movieClip play frame label playMovie?

I already try to put many different type action in frame one of stage
this.movieClip.gotoAndPlay("2"); //NOT WORK
this.movieClip.gotoAndPlay(2); //NOT WORK

[code].....

View 7 Replies

ActionScript 2.0 :: Tell _root To Goto Frame And Then Play Certain Frame Of Movieclip?

May 7, 2006

When you click a button I want my flash to go to the frame label where the movie clip is located, and then play a certain frame of that movie clip.

View 5 Replies

Flash :: MovieClip To Play From Frame 5 To Frame 30 And Then Stop?

Aug 1, 2011

I want my MovieClip to play from frame 5 to frame 30 and then stop. How can I do this?

View 5 Replies

ActionScript 3.0 :: Go To A Frame And Play A Certain Frame In A Movieclip?

Aug 11, 2008

This may be a really simple question but I'm trying to go to a frame on the timeline which has a movieClip object in it and then goto a specific frame in that movieClip and I can't figure out how to code it. I thought something like:

gotoAndPlay("movieClipframe");
this.theMovieClip.gotoAndPlay("theFrame");

but I get a null reference error.Does anybody know what I'm doing wrong or if I'm?

View 6 Replies

ActionScript 2.0 :: Make Movie Play Frame X To Frame Y Then Switch To Frame Z?

Nov 21, 2007

I have my flash on multiple scenes, and would like to play an animation when clicking on the navigation button before switching to a different scene.

I'm halfway to accomplishing this.

Here is what i used

Code:
_root.gotoAndPlay("changepage1");
_root.onEnterFrame=function(){
if(this._currentframe=="changepage2"){

[Code]....

The above code is on a blank keyframe. Changepage1 is the start of the animation and Changepage2 is the end of the animation.

Upon clicking the navigation button it plays the above scenes.

However it doesn't change scenes to scene "Home2".

View 1 Replies

ActionScript 2.0 :: [CS3] Call Instance Name And Play Frame

Feb 8, 2009

configuring this instance movie to play when i click a button, here is my movie structure:

- root movie - container and some external .swf movie

The process is there will be button load at the end of root movie, and calling some external swf movie with number. all the swf will play in a container each swf movie(about 5 animation)

At the end of root movie there is also some loop animation that play at the end of root movie, while we can click the button also.
What i want to do is how can i play the loop movie, start from the middle when i click one of the button.

So what happen will be: - click button = external movie load and the instance name play from frame 100 and loop again.

View 3 Replies

ActionScript 2.0 :: [F8] Play Frame 2 For A Duration Of 1 Frame Then Frame 3?

Jul 13, 2006

i have a movieclip on stage. it has 3 frames but is stopped with "stop():" so it only shows the first frame on mousedown i want it to play frame 2 for a duration of 1 frame then frame 3.

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

ActionScript 3.0 :: Listeners - Entering A Frame And Leaving A Frame To Call A Function?

Dec 14, 2010

OK, I am trying to get the following functions to load and unload the video to my main timeline when I go in and out of a frame. I tried on Enter_FRAME but it is now working properly and load many instances.
 
What are the listeners I need to do to call the functions of oCoach when enetering a frame and fclickCV when leaving a frame?
 
[code]...

View 3 Replies

Flash :: ActionScript-3 Call Function On Every Frame Without Having To KeyFrame Every Frame In Between

Mar 27, 2011

I want to call a function once per frame between keyframe 1 and keyframe 60, but i don't want to have to create a keyframe on EVERY single frame in between with an action calling the function. is there a simple way like tweening, to make this function execute once on every frame without having to make 60 unique keyframes?

View 1 Replies

Actionscript 3 :: Call Method In A Frame From Inside A Movieclip

Feb 23, 2012

Possible Duplicate: currentFrame of root timeline from inside object In flash with as3.0, I have to call a function on the main stage from a movieClip I have this method in a frame on my scene:

[Code]...

and I would like to be able to call that method from within a movieClip, how do I point to the method?

View 1 Replies

IDE :: Play Movieclip Then Go To Next Frame?

Dec 5, 2009

I've a movieclip at frame 1, I want this to play and when it's finished i want to go automatically to frame 2, I've a movieclip their too, I want it to play and when it's finished i want to go automatically to frame 3 and so on.

View 3 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 2.0 :: Button Play A Frame And When It's Stopped Jump To Another Frame

Sep 6, 2011

I built a button in one of the movie clips in my project,

when I release this button, it goes to the 41st frame of the main timeline and continue to play until the frame 70 which has got a stop; command. till here everything's just OK. But I want this button to do something more though I don't know whether it's possible or not.

I want this button to go and play the frame number 41 in the main timeline, and then after it stopped at the frame 70 , then jump to frame 73.

View 5 Replies

ActionScript 3.0 :: From Button Click Event - Play To Certain Frame Then Go To Another Frame

May 25, 2011

I have a small flash site made up of a number of pages all on the one timeline.

The query is this. When i release a button i want the timeline to roll on for x frames (fading components out) before going to the frame that button links to (The beginning of the new page).

I have no idea what AS to use for this.

No matter where in the timeline you are, the button should fade out that area and then skip to a new one.

View 2 Replies

ActionScript 2.0 :: Make Script Play On Every Frame Without Copying It To Every Frame?

Jul 17, 2002

I'm creating an effect in flash mx where lasers follow a guide path and reveal a word beneath. I was setting it up making it drop behind a square where the spark travelled and i used the setmask command to mask it, problem is, the setmask command only works with one instance at a time! Can i group multiple instances with actionscript? Or can i have it dump the squares on a mask layer with actionscript.I was also wondering if i could just make the script play on every frame without copying it to every frame? I tried the on enter frame deal but it didn't work.

View 3 Replies

ActionScript 2.0 :: Play MovieClip Then Go To Next Frame?

Dec 5, 2009

I've a movieclip at frame 1, I want this to play and when it's finished I want to go automatically to frame 2, I've a movieclip their too, I want it to play and when it's finished I want to go automatically to frame 3 and so on.

View 1 Replies

IDE :: Play Movieclip On Enter Frame?

Mar 16, 2009

I am trying to play a simple movie clip when the playhead gets to a frame label called "home". The moveclip is called "playRollClick". I am trying to write this in as3.

The code below is what I've come up with so far, but it doesn't seem to work.

addEventListener(Event.ENTER_FRAME,playRollClick);
function playRollClick(event:Event) {
rollClick_mc.play();
}

View 1 Replies

ActionScript 2.0 :: Loop 2x, Go To Frame 1 And Play To Frame 30 And Stop?

Feb 5, 2009

Using MX 2004. I would like to play the entire movie twice, then start playing a third time until frame 30 and stop.

View 1 Replies

ActionScript 1/2 :: Play Last Frame In Frame Label In Reverse?

Jun 5, 2009

Yesterday Kglad gave me the following :

nextTX.onRelease = function (){var nextFrameLabelNum:Number = (1+Math.round(thTX._currentframe/27))%10;
thTX.gotoAndPlay("next "+nextFrameLabelNum);
}[code].....

which works great IF I am moving one image at a time.What I have done now is tween 3 slides to move into a visible mask by pressing next, but when I press previous of course the above doesn't work.It just jumps to the previous three with no tween.I would like to maintain the tween but in reverse.I would like the previous just to undo, in reverse, what the next button just did with the tween?Is there anyway to make this happen with as 2.0?

View 1 Replies

ActionScript 3.0 :: GotoAndPlay Command - Play Frame To Frame

Nov 29, 2009

In this bit of code is there anyway to adjust the gotoAndPlay Command to play from frame 114 to frame 200. Are there any commands that will do this. I want it to play from frame 114 to frame 200 when a button is pressed.

[Code]...

View 1 Replies

Professional :: Dynamiclly Load Flv's And Play Frame By Frame

Dec 5, 2010

I'm building a flash application where the user can play multiple 30 sec .flv movies (one at a time) in slowmotion by pressing or holding down the left and right arrows keys.The user can hold/press "keypress right" to move to the next (key)frame and "keypress left" to move to the previous (key)frame in the .flv files.I have tested embeeding one .flv movie to the stage and it's working fine.But since I will be using many flv's I want to load the .flv's dynamiclly (on button clicks) using netstream or FLVPlayer. Would it be possible to step beetween keyframes in the same way if the .flv's are loaded dynamiclly? Or, must I embeed each .flv file into separate swf's and then dynamiclly load the swf's to my main stage?

View 1 Replies

ActionScript 3.0 :: Play The Movieclip, Then Pause It On The Last Frame?

Aug 27, 2011

i have a swf with a movie clip in it (38 static image frames long)on loading of the swf i would like to play the movieclip, then pause it on the last frame for 1 second then play the frames in reverse then pause it on the first frame for 1 seond and then play the frames in correct order ETC ETC ETC

View 1 Replies

Flash :: Play A Movieclip Then Go To A Different Frame For Each Buttons?

Apr 13, 2011

I have 10 buttons on my homepage and I want to play the same movieclip when you click on a button and after that move to a specific frame for each different button.

Someone know an easy to make this without having to create 10 differents movieclips just to change the action at the end of the movieclip?

View 1 Replies

ActionScript 2.0 :: Play Frame In Movieclip From Other Movieclip?

Mar 29, 2011

I was asking button to go to a movie clip on the main timeline that had a stop frame at the beggining. Flash won't do this because it doesn't recognise anything past a stop frame and used _parent instead of _root

code on the button:

on (release) {
_global.destination_detail = "first"
_parent._parent.gotoAndStop("content_mc");
}

And in the stop frame that's at the beginning of the movieclip that contans my content:

content_mc.gotoAndStop(_global.destination_detail) ;
stop();

So I've created a variable: destination_detail

View 4 Replies

ActionScript 2.0 :: Play Frame In Movieclip From Other Movieclip

Mar 29, 2011

I can't see how this isn't working:[code]The button with this funtion is nested within a movieclip on the main timeline.'content_mc' is the instance name of a movie clip on the main timeline that contains frame label "1". I want to play frame label one by clicking on this button.

View 8 Replies

Make A Frame Become Visible And Play / When Click On A Movieclip

Apr 27, 2009

This time I'm experimenting with visibility. All the tutorials online vary a lot. I'm trying to find something noob proof. I have actionscript 2 and 3. I'm not sure which one to use..I'm just trying to learn how to make a frame become visible and Play when I click on a movieclip.

View 5 Replies

ActionScript 1/2 :: Play Movieclip Once Finished Move To Next Frame?

Jul 3, 2009

The problem I have is that I have created a Movie clip of an animated logo. The timeline within the movieclip contains 163 frames.

I have placed the movie clip on the main timeline at frame 1. What I would like to happen is the movie clip to the play all the way through and then move to the next frame (frame 2) of the main timeline to continue the animation. the next frame has a frame label, named 'main'. I have split the timeline up into sections as I am created a webpage.

There must be a pretty straight forward Actionscript code to do this, I have come across some things but they dont seem to make  much sense to me. I am pretty good at the drawing and animation side of things in flash but I complete newbie when it comes to the Actionscript code.

View 5 Replies

ActionScript 3.0 :: Use Frame Labels To Play Some Part Of MovieClip?

Jan 29, 2010

I now how to use frame labels to play some part of MovieClip:

mc.gotoAndPlay("label1");

but is it possible to acces to frames INSIDE labels? i mean, i need gotoAndStop(25) (25 is last frame of that label)i only know this dont work:

Code:
mc.("label1").gotoAndStop(25);

View 4 Replies







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