ActionScript 2.0 :: GotoAndPlay On Two Movies Simultaneously

Dec 7, 2009

I'm a graphic designer, so my skills on AS are not that great. However I've managed so far with quite a few websites, until now. What I'm trying to do is the following: I have a main movie (which i'll call for now movie1.swf). I load a movie on Scene2, on level1 (which I'll call movie2.swf). So what I want to do, is to be able to whenever i click on a specific button (which I can place either on movie1.swf or movie2.swf, depending on recomendation), and gotoandplay to a specific frame label on movie2.swf, and gotoandplay a specific frame label on movie1.swf. Is this possible?

View 2 Replies


Similar Posts:


Playing 2 Movies Simultaneously?

Aug 22, 2009

to load 2 movies simultaniously on the same page but in 2 different HTML layers? see example here: [URL] notice the menu on the bottom of the page. it seems as though thats a seperate movie... (try resizing the browser window to get a better idea...)

View 1 Replies

Keep Multiple Movies Loaded Simultaneously?

Jan 2, 2010

Is it necessary to unload Movies in Flash, or can I keep multiple movies loaded simultaneously? Are there memory requirements that make it necessary to limit the number of Flash movies loaded at one time?

View 1 Replies

ActionScript 2.0 :: Loading 2 .swf Movies Simultaneously?

Jun 18, 2003

how can i load 2 .swf movies simultaneously through one load movie action button ?

View 7 Replies

IDE :: SwapDepths And GotoAndPlay - Play With A Navigation Swapping The Movies To The Front As Clicked

Oct 15, 2009

I am trying to get a FLA to work correctly. I have 4 movies that I want to play with a navigation swapping the movies to the front as clicked. When I use the navigation, the first few movies work great, but as I click through they start to get a little jumbled, and it breaks. I am using this script for the buttons to call on the movies:

[Code]....

View 1 Replies

ActionScript 2.0 :: Goto And Play Scene - _root.gotoandplay And Even Scene1.gotoandplay Won't Work?

Nov 9, 2007

For some reason i'm having problems swapping scenes in my flash movie. At first i put the action in a "actions" named layer and a link to a button. So basicly when scene1 loads the frame 1 action is "stop ();". The viewer clicks on button1 which has a code of;

[Code]...

View 1 Replies

ActionScript 1/2 :: Sound Linkage When Loading Movies Into Movies?

Jan 16, 2007

I have an intro.swf file that is basically a movie with sound that is exported for actionscript but not exported in the first frame. I just stuck it in a movie on my timeline and it works great and the preloader works because it doesn't load the sound before the preloader. I use :

musicSound = new Sound();
musicSound.attachSound("music");
musicSound.start();
to play the sound in intro.swf.

However, now this intro.swf gets loaded into an index.swf and everything works fine and the sound plays as long as I have the sound included in BOTH the intro.swf and the index.swf and the sound is exported on the first frame in the index.swf. I was hoping I could remove the sound entirely from my index.swf since it already loads into the intro but so far

View 9 Replies

ActionScript 2.0 :: Creating Reverse Rollover Movies Within Movies?

Oct 25, 2005

I have been having trouble creating a movie clip with a reverse rollover effect within a movie which has a reverse rollover effect. that sounds confusing

In essence I wish to create a panel that rolls out on rollover and rolls back in reverse when the you rollout. I have done this using this script

[Code]...

However I wish to make movies within this movie that have the same effect on them. But when I create another movie or button within this movie it is not registering on rollover. I guess because the script on the main movie overrides it?

View 2 Replies

ActionScript 2.0 :: References & Movies Within Movies?

May 24, 2003

I am creating a calendar and only one part isnt work. That part is the movie (mc_nav). I have the mc_nav movie on each month's stage. The buttons are named correctly since I used normal modes reference thingy to double check the references. I am trying to have it move to the next frame in the movie, or back, or to the 3rd frame etc. The first section (NAVIGATION BUTTON LINKS) works fine. It is just when I try to navigate on the Scene 1 stage, from a movie within a movie, that the trouble arises. Each of the month movies (mc_sep, mc_oct, etc) have mc_nav placed on them. Then the month movies are placed in Scene 1 on each of their respective frames (mc_sep = 4, mc_oct = 5, etc). When testing the movie and I am sent to any month page, the navigation (mc_nav) wont work. The syntax according to the flash debugger is correct. The action script goes all the way through to the last frame (13) and the stop(); command is set to stop the movie at frame 3 (the splash page).

[Code]...

View 2 Replies

IDE :: Playing FLV And SWF Simultaneously

Mar 25, 2009

I have a 'master' SWF file that calls in about 6 external .SWF containing graphics. This 'master' also pulls in external .FLVs (some that are video+audio, some that are audio-only) and makes the file the contentPath of my FLVPlayback component. On some of my Point of Interest buttons (numbered buttons that direct the user to view content), both FLV and SWF are being called. Locally (on my own computer), the videos sync together perfectly (graphics changing to match the audio description). But when i test the presentation on a 'testing server' (i.e. the internet) There is a pronounced lag between the SWF and FLV.

My question is: How do I code the AS2 to NOT play either the FLV or the SWF until BOTH have loaded completely? I'm looking for ideas and pseudo-code right now to point me in the right direction. I'm leaning in the direction of an event listener coupled with getBytesLoaded and getBytesTotal. Probably simple as an if statement with a listener and getBytes function?

View 1 Replies

Make 2 Simultaneously Playing Sounds?

Nov 24, 2009

I would like to make a small player where two sounds* can be compared.

- PLAY and CHANGE buttons

- On pressing PLAY button, two sounds (Sound-A and Sound-B for example) should play simultaneously (at the same time).

- While those two sounds play, Sound-B should be MUTED and Sound-A should be hear.

- On pressing CHANGE button, the situation changes: Sound-A is muted and Sound-B can be hear. And vice-versa.

*two sounds: both songs are the same, but one of them is remastered

View 2 Replies

Professional :: 2 Events Fired Simultaneously?

Aug 5, 2010

I have 2 buttons.There is a MOUSE_OUT event for button 1 and a MOUSE_OVER event button 2.The buttons are right next to each other.Each event leads to a different frame.When the mouse moves from button 1 to button 2, both events get fired, first MOUSE_OUT and then MOUSE_OVER - but the MOUSE_OVER event cuts off the MOUSE_OUT event and doesn't give it a chance to fully execute. To be more clear, for each event, a function is called which has "gotoAndPlay(x)"(x is some different frame number for each)The gotoAndPlay() will go to lets say frame 437 and play exactly 2 frames.But when MOUSE_OVER is fired and it calls my function, it calls the gotoAndPlay() BUT it doesn't get to play the 2 frames.It gets cut off because the MOUSE_OUT gets fired which calls a function which then calls gotoAndPlay() and plays a different 2 frames. How can I allow the first 2 frames to fully play and then the last 2 frames?

View 3 Replies

Two Functions In A Class Be Accessed Simultaneously In AS3?

Jun 7, 2010

In a custom queue, there's a push() and a pop() function. The pop() may be called any time on an Event.COMPLETE, so does this mean that code can be running in push() and pop() simultaneously? If so, is there a way to prevent the code from being run in both functions at the same time?

View 3 Replies

ActionScript 3.0 :: Loop Multiple Flv Simultaneously

Oct 22, 2007

I really hope someone can help me with this one! I've been trying to loop several embedded flv files in one flash document. I've found some really useful script that works when applied to one flv file in the document, however I don't really know how to adjust the actionscript so that it applies to the other three flv files on the page.[code]

View 2 Replies

ActionScript 3.0 :: Moving Several Objects Simultaneously

Nov 3, 2011

Code:
var arrowleft_btn:Button;
var arrowright_btn:Button;
arrowleft_btn.addEventListener(MouseEvent.MOUSE_DOWN, startScroll, false, 0, true);

[Code]....

What I am trying to do to solve my first problem is have the image (which holds several smaller images in it) scroll across the screen when the user clicks on either the right or left arrow found at the top of the screen. If anyone is interested I can send them the file to have a look at? All of the instance names are the samer though, the arrows are buttons and the 'housecompilation3_mc' is a movie clip.

View 2 Replies

ActionScript 3.0 :: Play FLVs Simultaneously Within Swf?

Mar 14, 2012

I am creating a flash "video jockey" station. I have 9 videos that are different parts of a song. Each video is loaded upon the loading of the swf with a volume of 0 . When the buttons given are pressed, they unmute and expose the video. I have it set to a 36 second loop. I have coded in a rewind for each video. When I export it for html, the rewind and play no longer matches up. I feel like there may be a simpler way to code what I am doing, and a way to say that all videos should match up based on their location within their 36 second play time. I have included the actionscript3 I have written for two of the videos. Imagine this with 9 total videos and background music all having the same rewind function.

stop();
import fl.video.*;
var pb:FLVPlayback = new FLVPlayback();
pb.source="videoOne_2.flv";

[Code]....

View 6 Replies

ActionScript 2.0 :: Overlapping / Simultaneously Clickable?

Oct 22, 2010

I got a website that i coded in AS3 - inside the website, i use a video gallery that is done in AS2.So the AS3 code just calls for the videogallery .swf and so its not a big problem.Now here is my problem: whenever i close the video gallery section, im using an AS3 command to make the gallery invisible... unfortunatelly, and obviously, the video keeps playing in the background (and since you can't see it, you will just hear the audio).

So since im not able to send a command inside the videogallery .swf - i thought of creating an invisible button, that overlaps with the Close button.that i press 2 buttons at once - one inside the video gallery to stop the playback, and one inside the website, to close the entire video section.

View 3 Replies

ActionScript 3.0 :: Preload Multiple Swf Simultaneously?

Nov 18, 2010

I have 3 external swfs which I load into a mainmovie. I need to preload them to make sure they start at the same time. I just need a super basic preloader, but it needs to load all 3 swf and once loaded, start

View 13 Replies

ActionScript 3.0 :: One Preloader Loading Two External Swf Simultaneously?

Feb 10, 2009

I'm creating a website with an animated intro. I would like the intro and the website to load at the same time using the same preloader.it would be Swf 1 + swf 2 = total bytes

View 7 Replies

Edit Frames In Multiple Layers Simultaneously?

Nov 9, 2009

I've created a movie, and have decided that I want to change the timing of one element in the middle of it. I have searched and searched but can't find any way to change not only the length of time this element stays on screen, but also all subsequent action, all of which is on different layers.
 
Surely I don't have to manually move each element on each layer individually? I've been trying to select multiple layers and move the frame I want, hoping that the frames on other layers would also move by the same amount - but no luck.

View 4 Replies

ActionScript 1/2 :: Load Images Sequentially Or Simultaneously?

Feb 3, 2010

Just for tweak purposes. Is it a good idea to load Images simultaneously? Why would i wanna load images sequentially or simultaneously? What are the advantages and disadvantages of the 2 approaches?

View 5 Replies

Record And Stream Same Ongoing Recording Simultaneously?

Apr 2, 2012

What i currently do is just load the video source in FMLE and stream to FMS.The problem is , the stream regularly buffers in low bandwidth situations.

I am therefore thinking of finding a way to rather record the video, then stream the video live into FMS whiles the recording is still going on.

View 4 Replies

Actionscript :: Give On Press And On Release Simultaneously?

Sep 18, 2010

I have the following code

[Code]....

when I press button it have to play and go to the page

View 1 Replies

Actionscript 3 :: Flash - Simultaneously Changing Numbers?

Jan 31, 2011

How do I create a simultaneously changing number in flash?Something along the lines of milliseconds on a stopwatch, like how they change repeditively.

View 3 Replies

Actionscript 3 :: Avoid Two Buttons Being Pressed Simultaneously?

Mar 28, 2012

I am developing a game with a large amount of code. The unfinished version of the game can be found here[url]...

There are two Key Listeners. One listens for SPACEBAR for the big jump, the other listens for CTRL for the small jump. The problem I am experiencing is that when the two buttons are pressed precisely the same time, both jump actions occur, resulting in a super big jump. (A combination of the two jump heights.)[code]...

View 2 Replies

ActionScript 2.0 :: Preloading More Then One Video Files Simultaneously?

Dec 25, 2009

I have only one FLVPlayback in the stage but i need to load more than one flv files and collect them with an Array. Then switch one video to another.

View 2 Replies

ActionScript 3.0 :: Menubar Handling & Slideshow Simultaneously?

Jan 5, 2011

I have created a simple menubar and handle the buttons via (as an example)

home_btn.addEventListener(MouseEvent.CLICK, HOME_clicksection);
function HOME_clicksection(evtObj:MouseEvent) {
gotoAndStop("home");

[code]......

View 0 Replies

ActionScript 2.0 :: Ease Functions Not Executing Simultaneously

Jan 31, 2007

I'm making a little movie where, when a button is clicked, a swf file is loaded into a movie clip using the MovieClipLoader object, and on the onLoadInit event, the clip's alpha and _x are both eased using custom prototype methods. When I first test the movie, it works fine - it fades/moves in correctly. If I click the button while it's still easing, it again reloads and looks fine - but for some reason, once I wait for it to fully ease in, when I click the button, it first loads, then the Alpha eases up to 100, and THEN it eases to the _x. [code]...

View 2 Replies

ActionScript 3.0 :: Change Text Fields Simultaneously

Jun 1, 2009

i am putting together a basketball court that has a text field on the left and right side with the same instance name of borderText.i need the text to change in each text field (borderText) simultaneously as you click on buttons to change the text style, color and size.i have successfully gotten one text field to change to change on the left side, but the text field on right side does not change at all.PRESENT CODE:

var newTF:TextFormat = borderText.getTextFormat();
redTextBtn.addEventListener(MouseEvent.CLICK, changeToRed);
blkTextBtn.addEventListener(MouseEvent.CLICK, changeToBlack);

[code].....

View 5 Replies

ActionScript 2.0 :: How To Scale And Move MovieClip Simultaneously

Jan 11, 2004

I'm trying to scale and move a clip through action script. And the end result is working - the clip ends up the size and position I want it to. The problem is the clip starts the scale action before the move position action. It seems to move to an arbitrary coordinate before starting the x and y move action. I'd like the move and scale actions to happen simultaneously.

Here's the code:
scaleAmt = 25;
((mainclip._x -= scaleAmt*1.71) and (mainclip._y -= scaleAmt++));
if ((mainclip._x<=-2880) and (mainclip._y<=-1680)) {
gotoAndPlay("e5_onStop");
} ((mainclip._xscale += scaleAmt++) and (mainclip._yscale += scaleAmt++));
if (mainclip._xscale>=500) {
mainclip._xscale = 500;
mainclip._yscale = 500;
}

I get the feeling I should put this into a for loop, but I'm not sure how to do it.

View 1 Replies







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