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
Similar Posts:
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
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
Jun 18, 2003
how can i load 2 .swf movies simultaneously through one load movie action button ?
View 7 Replies
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
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
Jan 30, 2012
I have two movieclips on the same frame but on different layers located within the movieclip. The first movieclip plays just fine. However, the second one isn't going ahead even a single frame. The code that I have mentioned below is located withing the second movieclip containing background image. And I think this code is causing the issue because when I remove this it plays perfectly fine. The function of this code is to automatically re-size background image with the browser dimensions. The whole code just worked fine on the main timeline.However, when I shifted it inside a movieclip its causing an issue.
//set stage for FBF
stage.align = "TL";
stage.scaleMode = "noScale";
[code]....
View 1 Replies
Jul 13, 2009
I have 15 movie clips that play one at a time. When the first one calls the second movie clip there is a short space (black screen) between the two which I have to eliminate. I tried loading the second one half way thru the first movie then tell it to play when the first movie is over, but when I do that you can see a disturbance in the first movies performance when the second one is pre-loaded. Is there a way around this so I can make 15 movies run seamlessly? They are separate .swf files!
View 1 Replies
Apr 26, 2005
apologies if this seems like a redundant question... i've been reading through all the turorials and forum threads i can find, and am just confused at to what exactly i need to do next.... my first time trying to use preloaders but am finding i need them in order to make my project run smoothly.... my situation: want to preload 5 swf files into my main movie, and have them at the ready to play when i want them to (either by an onEnterFrame or onPress).
i started working with some preload array script from Scotty i found on one of the threads, but elsewhere i've seen info about putting extra frames into the uploading swfs and am unsure what i need to do with this or how it would fit in with the below code. right now, when i try to play one of the uploaded swf files nothing is happening, and i'm guess my code is wrong there too, but don't know what to put....
[Code]...
View 1 Replies
Sep 15, 2008
I have several movies that will be loaded into a main movie. I am loading the movies when the user chooses to open each movie. The problem is that then the user has to wait until each movie loads. Is there any way to change this?
View 1 Replies
Jul 2, 2007
Here is one of those problems that seems like it should work because it is soo basic in implemintation, but just doesn't....The trace in this code works, but the mcs that I want to play just wont move. I have a stop action on its own keyframe within each movie on frame 1. If I take the stop action out all the mcs will play/loop just fine.All of the code is on an actions layer, then each mc is within its respective container. I even put a test mc on the main level and it doesn't work.This is one of the instances where, teaching yourself flash is great because you learn exactly what you are interested in, however because of the lack of structured or formal training, the basics often escape you.
EDIT : Oh, and because I can usually solve something by tracing everything out...in this case trace has failed to shed light on theissue,
[code]
this.buttonContainer.btnSelect.onPress = select;
function select() {
this.textContainer.textMask.gotoAndPlay(2);[code].....
View 1 Replies
Sep 27, 2009
i have a flash movie that has a clock , slideshow and text scroller that plays all day in my resaurant. I want to change it so that it plays a movie with special offers in the mornings, then plays a movie saying we're reopening at 4.15 in the afternoon and then play another movie wit clock/slideshow inteh evening. How can i set my flash code to play these 3 different movies at the specified times automatically.
View 14 Replies
Nov 12, 2009
Using Flash CS3, Actionscript3.0, Player Version 9.0
My video player plays H.264 videos.
But some of my Quick Time movies are not playing audio. Only video is working.
View 1 Replies
Feb 25, 2009
What does this mean. I go to see certain movies on certain sites, like news sites and a window pops up showing this error. Both on Firefox and IE[code]...
View 1 Replies
Jun 9, 2010
i am looking for a flash/flex component that plays movies that are not .flv but .swf with controllers such as fast forward, stop, play and a timeline.I have a flv player which does the same but some movies I don't want to play bitmap movies but vector for quality reasons ( as movieclips )
View 2 Replies
May 13, 2010
I am creating a website that teaches kids about the about the brain and I am creating a website very familiar to this one, [URL]. I created one flash file and drew the background for where the text will display. Next I created several movie clips for each of the brain parts and I placed an invisible button over each of these movies, e.g., I told the button, "cerebellum_button" to play the movie "cerebellum_mc." which includs text.
I feel that my code is redundant because I am having to create an invisible button for each animated movie clip which plays a movie clips with text. Is there a way that I can centralize all of the text in the project then call it from different buttons? My aim is to have the user roll over the brain part, have it animate, and have it display the text that explains what that brain part does.
cerebellum_button.onRollOver = function(){
cerebellum_mc.gotoAndStop("turnon");
} cerebellum_button.onRollOut = function(){
cerebellum_mc.gotoAndStop("turnoff");
View 0 Replies
May 18, 2010
I have gotten my movies to play at random from external files but the links that where coded into the random swf files no longer work. could there be an action script issue? The random swf files are as3 and the player file is as2????
View 1 Replies
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
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
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
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
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
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
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
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
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
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
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
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
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