ActionScript 2.0 :: Control SWF From One Frame To The Other?
Jan 29, 2003
how can i controll one SWF wich is in one frame from the other SWF wich is in other frame? for example: I have two frames ( topframe and bottomframe ), in the top frame i have navigation and in the bottomframe must be content, so how can i create some button in navigation wich is gonna to controll the content in the bottomframe ( for example PLAY or GOTO )?
View 8 Replies
Similar Posts:
Oct 5, 2009
Just finally making the transition from AS2 to AS3.All i need to do at this point is make two buttons which will control the movie to goto next frame and previous frame. I have gotten how to make the buttons go to a specified frame number and also a button to go to a specified external url but no success in making a simple next/previous pair of buttons.
stop();
but1.addEventListener(
MouseEvent.MOUSE_UP,
[code]....
View 14 Replies
Jul 16, 2010
i'd like to control MovieClip timeline witch contain several DisplayObject (like Sprite, Button, ...) these DisplayObject have Motion (AnimatorFactory). How can i do seek frame-by-frame the MovieClip Timeline and use the currentFrame to control all Motion child.
[Code]....
View 18 Replies
Jan 30, 2009
here what i have:- On stage, a clip (video_mc) that has 2 frames- frame one is a jpg preview of the FLV with a playBtn- playBtn leads to frame 2 where FLV Component (videoPlayer)plays a video (using FLV, not netStream)What i want to do:- I want to stop and rewind the FLV Component (videoPlayer)lying at frame 2 of video_mc from a button (retour_btn) thats onthe stage.Ive tryied this code to target the FLV to not avail:video_mc(currentFrame = 2).videoPlayer.stop();I assume im not that far, but cant figure it out.
View 1 Replies
Sep 10, 2009
What was simple is now documented by 15 pages of chicken scratchesI have searched through the docs and am just lostWhat I want to do was simple enough in AS2: onClipEvent (EnterFrame)_root.gotoAndPlay("2");But can't be done now. It doesn't work as a frame action either without the onClipEvent. All I want to do is go from the last frame of the timeline to frame 2 and skip the preloader. How the heck do I do that in AS3? I've searched online and cannot find the method, and perhaps search terms don't work. Anything I can find applies to AS2.
View 12 Replies
Aug 13, 2006
I have some scenes, and from the main scene, it can go to any other scene based on user click. but when it goes to other scene, how can i know wht is the current frame number and scene that i am going from? [code]...
View 3 Replies
Oct 23, 2009
I would like to use some sort of timed event to choreograph a movie as opposed to extending out the time line "x" number of frames.
In my movie - I would like some sort of pause action which pauses the movie for 5 seconds before proceeding to the next frame of that movie.
It's not a visible timer - just a way of controlling the time line with a frame action.
View 4 Replies
Oct 26, 2011
in normal swf files, usually it plays from frame 1 till the end and then loop...
is it possible to use javascripts/any script to make it start play from, e.g. frame 10?
View 1 Replies
Jan 14, 2009
I have to load a swf movie. I can't change this swf movie. But on this movie, there is no stop() on the first frame, and into this swf there is a sound that play once loaded. Besides, sometimes, the swf I've to load has a stop() at first frame. So I have to write something to stop whenever there is or not a stop() at 1st frame, so that I can decide when the sound starts by clicking on the play button.
So I wrote this bellow, that work but in case of a swf without stop() the play action play sound with a few delay. For example when I click on play() the song starts but it seems that sond has already started. I suppose it's an asynchronization problem.
Here is the code:
ActionScript Code:
stop();
mymusic = "5405985.swf";
var mySound:Sound = new Sound();
[Code].....
View 9 Replies
Sep 13, 2009
I'm a bit stuck, I'm trying to control one movie clips current frame from another movie clip using actionscript 2. Here's what I understand[code]...
View 1 Replies
May 19, 2009
I've been brought in at the last minute to finish off someone elses code on a project and having some trouble getting something to work....The following is from an AS3 applet which slides 4 panels, populated with photos & links from the CMS. I need the timer to pause & reset when I rollover the tab that is open at the time. I onlny have a couplle hours to figure this out!
Code:
var tempo:Timer = new Timer(7000);
tempo.addEventListener(TimerEvent.TIMER, nextTAB);
[code].....
View 3 Replies
Oct 31, 2004
What I'm trying to accomplish is creating faux control ability. It just needs to look like there's user input.The specifics:to the right of the screen is a window with 6 tabs that you can drag. I want the window above the tabs to have green bars that increase vertically as you drag up and decrease as you drag down. I thought I would be able to asign variables of position1, ""2, ""3, etc. Then set up a <= if then statement to say:if tab1_mc is less than 280 px for it's _y then tell greenbar1_mc to gotoAndStop(3);That didn't work, so, I figured I could just forget the var's and set up some AS that can constantly get the value of the tab1_mc's _y and then go through an if then AS that would tell the greenbar1_mc to gotoAndStop(respective frame);
View 2 Replies
Jun 16, 2011
I have a layer that contains a movie clip, instance name wwr_mc, which has nineteen frames. I have figured out how to script a roll-over function to continously move from one frame to another by rolling over the prev, or next buttons, using this code:
wwr_mc.gotoAndStop(10);
var t:Timer=new Timer(250,0);var dir:int;
t.addEventListener(TimerEvent.TIMER,onNextFrame);[code]...............
This type of navigation, while functional, is not really codusive to what I'm trying to accomplish. I would like to be able to click and drag the mouse and have the frames advance forward or backward depending on the direction of the mouse movement.I tried using the MOUSE_Move event with very limited success.
View 5 Replies
Nov 25, 2006
I am looking for a total frame control on a movie clip.
for ex: if my mouth rollover my clip, my clip play frames 10 to 18 in loop. (i dont know how to loop)
and on rollout play frames 1 to 9 in loop.
View 1 Replies
Feb 13, 2007
I want two radio buttons on the 1st frame. if you select rbA and hit a button you go to frame label "loading" and if you select rbB and hit the button you go to frame label "sorry". I found this code below that says it does what I need but I just can't get it to work. I have attached fla.
stop();
rbA.setLabel("test");
rbA.setData(2);
rbB.setLabel("test2");
rbB.setData(3);
[Code] .....
View 6 Replies
Sep 8, 2009
I have a movie clip that plays within my scene.I have only 1 scene which has 2 frames.How do I control what frame the scene is on from the movie clip? is it:
Scene1 on (release) {
gotoAndStop(2);
}
View 2 Replies
May 7, 2011
I want to know that how can I control frame rate of my flash movie from xml file or from AS2 code.
View 2 Replies
Jul 24, 2004
I have a dynamic txt frame in my main swf. When buttons are selected, text from an external txt file loads into the text frame. This all works fine. What I would like to do is be able to load an external swf into an empty MC and then be able to dictate what the buttons on the external swf do (such as load text). The last line of the below AS is my attempt to path to a button that is on an external swf
[Code]...
View 3 Replies
Oct 23, 2004
here is the AS i am having trouble with
[Code]...
I want to make it so when i roll over my movie clip (that i attach this AS to), a different movieclip is controlled. This AS
[Code]...
Works great, when using 'this' for the prev and next frame control but i cant figuire out how to control a different movieclip on root.
View 1 Replies
Sep 22, 2011
Is there a way to control the frames of a movieclip that's in the scroll pane component? On my stage I've got four buttons setup. I've got the following actionscript but get an error.
import flash.events.MouseEvent;
scrollPane.source = pm_mc;
scrollPane.setSize(975, 500);
scrollPane.scrollDrag = true;
[Code]...
View 2 Replies
Feb 12, 2009
I was wondering if it is possible to change the frame rate per seceond (fps) of a movie clip while the movie is playing.
View 2 Replies
Oct 15, 2009
I want a button which is on an externally loaded swf to tell a movieclip on my main swf to gotoand play a specific frame. Is this possible and how would I do it?
View 0 Replies
Feb 18, 2005
if it would be possible to control time through ActionScript. What im mean here is that if, let say a certain effect just finished and i want to wait for 5 sec before it automatically jumps to the next specified frame i want to play. would this be possible with AS?? or other techniques maybe?
View 1 Replies
Dec 11, 2007
Which code should I give to my button on the main timeline, to control a MC object (instance name "vid"), by forcing it to change to a specific frame?
View 3 Replies
Aug 12, 2006
I am trying to control movement of an object in one frame based on timing. I have the movement working correctly. What I need assistance on is determining when it should move.I tried using timer() mod 1000 but am having no luck.What is a way that I can implement this portion?
View 2 Replies
Sep 8, 2010
im trying to navigate through a movie clip and stop at frame labels using individual buttons to call to individual labels while being able to see the on the way to the frame(for a blurred effect).my goal is to jump from point A to point F to point Z and see all the frames in between and visa versa.
View 1 Replies
Oct 12, 2009
I am trying to manipulate (move up and down, enable/disable and launch a form) child controls inside a panel control. However I am unable to get the id of the child control on which the click event occurs. To illustrate, I am trying to create similar functionality as is available. I am trying to create the up-down buttons that you see in the image at http:[url].......
View 2 Replies
Mar 21, 2011
im trying to make a music/sound control and FX sounds control,so i have my FX volume level as a variable(FX_vol) and also the Music/sound volume level as a diffrent variable(M_vol),so i set them as sounds that i can use trough coding:
[Code]...
View 2 Replies
Sep 13, 2009
I'd like to control a movie clips current frame by another movie clips action script.I realise the following controls the outside (root) frame time line:
on(release){
_root.gotoAndStop(1);
}
but I'm not sure how to apply that to my other movie clip. I'm guessing it would be something like this:
on(release){
_*movie_clip_name*.gotoAndStop(1);
}
View 1 Replies
Nov 4, 2009
Is it possible to control a Flash movie from JS when you have no control over the source? I have decompiled the movie to see its inner workings, but I know nothing about Flash, so I'm mostly in the dark. I found this resource, Interaction with JavaScript, but it's not working for me (probably because I don't know what message to send to the movie).
View 1 Replies