ActionScript 2.0 :: Loading 2 .swf Movies Simultaneously?
Jun 18, 2003how can i load 2 .swf movies simultaneously through one load movie action button ?
View 7 Replieshow can i load 2 .swf movies simultaneously through one load movie action button ?
View 7 Repliesto 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 RepliesIs 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 RepliesI'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 RepliesI 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
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 RepliesI have always the argument with my colleagues which authoring strategy to use. I always attached to the idea of authoring several swf files, and have them all loaded to the main swf when needed. And than attach Preloader to each swf that I load.
Others think that it should be only one swf with one preloader. And have all the navigation to use scenes or goto actions.
So the advantage of using my strategy is that users will not wait too long for one movie when its being loaded. And its more convenient to work on several fla with each have its own layers, symbols, etc
I want to create a website having one main stage file(main.fla) with different swfs(movie1.swf, movie2.swf,movie3.swf) for various sections. Am not sure what I am doing wrong here but somehow when I click the button it does not load the respective flash file
View 6 RepliesI am creating a presentation which has a main flash and then 3 sub categories to it. Main.fla is nothing but a container to load the other movies into. I could get the the first movie (movie1.swf) to load onto main.swf by using the foll code:
this.createEmptyMovieClip("empty_mc",1);
empty_mc.loadMovie("movie1.swf");
empty_mc.x=0;
empty_mc.y=0;
Now the problem is in movie1.swf the menu is like on the 3rd level, i.e. main stage>menu_mc>menu (where the buttons are).
How can I add a code on level "menu" so that when I click button2 or button3 it loads movie2.swf and movie3.swf respectivley onto the main stage. Makes sense or am making it too confusing..
I want to try this breaking a big movie into smaller parts functionality so that I can understand flash more.
i have a photography website, the main 'index.swf' file has two scenes, one for the loader and one with the content.i have a navigation menu:item 1, item 2, item 3, and so on. i have 10 layers, my nav menu is on layer 10, at the very top.i also have a a layer for each one of my navigation menu content. Now i click on item 2, and i load a external movie clip called "fotos_mc" on to the stage and inside this movie clipe i load pic1.swf using: loadMovie ("pic1. swf", 1);it loads fine, except that it loads on top of my navigation menu, logo and so on, even it's on a layer that's under the layer where i have placed my menu and logo. is there a way that i have load my movie so that it displays behind my menue?
View 3 Repliesi am trying to create a swf file that contains 3 movie clips inside of it. i want the swf file to randomly choose one of those movies and play it.
i am on a mac with flash cs4.
is it possible to keep the loaded movies and then attach them to a mc ?The thing is that I have several external resources to load and I wish to attach them pour MCs along the execution of the movie.
View 2 Replieson one of the tutorials to load a movie it teaches you how to load with a button...
but.onPress = function () {
_root.createEmptyMovieClip("container", 1);
loadMovie("loaded.swf", "container");
[code]....
i want to load an external swf movie into the main swf movie. now ive been using the loadmovie script and it works fine but the loaded movie comes up in the top left of my site so my ? is, how can i specify the location of where my loaded movie ends up
View 3 RepliesI got some movies loading in a container, but the movies stay open, I want to be able to "close" the container, or hide it when I click on other navigation buttons that are included in my main timeline.
View 3 RepliesBasically I have a primary navigation and secondary or nested menu on one menu item. The following load movie script works fine on the primary menu on the root:
about_mc.onRelease = function() {
createEmptyMovieClip("container2", 1);
loadMovie("about2.swf", "container2");
[code]....
I read the tuts on dynamic loading etc (the one about external stuff like mp3s, jpgs, swfs; and the one with the transitions). I'm messing around with it in MX and all works fine, except the problem I have is I cant check it locally! the bandwidth simulator and profiler doesnt seem to work with loading external content, the movie appears immediately.
So I tried loading the swf from the web (i.e. URL = file://[URL]) that gave errors "opening file" (the movie is there though). my only solution so far is to keep uploading my movie everytime I wanna check it!!! which is CRAP! I dont have a network at home, so cant really use those bandwidth simulators I saw on the sticky. basically I juz wanna load an external movie, and see how the parent movie handles it (i.e. progress is kept track of correctly, loaded notifications work etc.) how can I check all this locally?
I got this tutorial about external movie loading. It works but it seems that their is a little problem with it. How do you keep the button from loading an external movie once it's loaded already?
[URL]
Let's BUTTON-1 loaded MOVIE-1, now when you click on BUTTON-1 again it will load the movie even if it's loaded. How do you do it like only when another button is clicked will it load the movie for that button.
is it possible to keep the loaded movies and then attach them to a mc ? The thing is that I have several external resources to load and I wish to attach them pour MCs along the execution of the movie.
View 2 RepliesI have a bit of an actionscripting dilema... I am trying load a movie ontop of another movie, so they are at different levels. This I can do ok, its just that when the new movie is launched and sits ontop of the old movie the buttons from the old are still active and interfere with the top movie. I know I could unload the old movie underneath, but my problem is that I want the user to be able to close the top movie to go back to the bottom movie at the place that they left it.!
View 5 RepliesI subscribe for this forum becausethis r the actions i have in my level 1
on (rollOver) {
startDrag (this, false, 250, 270, 750, 520);
Mouse.hide();
[code].....
develop a header splash like you see on many sites now.I have a few ideas. One is a list of images or clips with images embedded.On load teh first image loads up, then after a set time (30 secs),the second image fades in, the first fades out,and etc.looping.
View 8 RepliesI have a series of movies in my library (called page1, page2, page3... page87) and I'm looking to load the first one into a blank movie (called pageHolder).Using 'next' and 'previous' buttons, I then want to unload and load the next in the series of 'pages'. I'm trying to work out the best way to do this using addChild and removeChild, but not having much luck. I've read that the best way to do this entire sequence is to set up an array, but I have no previous experience with arrays.
View 2 RepliesI have 5 movies in my library, called question0, question1, question2, question3, question4. I linked them with export for actionscript. I have an Array, called questions. Then I have a button that calls the getQuestion function. But I get the following error:
[Code]....
I used a sample of macromedia to get a XML file with the names to the swf files i want to import in the stage. That works (for now). But now i also want to at a link (using getURL();) to the movieclip where the swf file is placed.
PS. i used gallery_tween.fla from the sample folder if someone wants to know...
Using Actionscript 2, I'm a bit new to all the scripting stuff.I have a loader loading a couple of flash movies like this:loadMovieNum("sound.swf", 1);loadMovieNum("logo.swf", 2);loadMovieNum("mainmenus.swf", 3);Those 3 movies I need to go to the main section of the site. However, I would like the loader to also load the remaining movies needed to further navigate the site, but without displaying them now Kind of like 'caching' the rest of the site, so when the access is needed, there's no load time.
View 9 RepliesI have three (3) buttons in my main movie. And I just realized that everytime I press the "about me" button, it keep loading, reloading, the same movie. Its kinda lame! So I searched for VARIABLES and thought I could work my way around it.What I did was, on the first frame of my movie, I declared 3 variables; namely:
PHP Code:
var portfolio = false;
var aboutme = false;
[code]......
I have a rotating menu that when clicked rotates and loads in swf movies, OnClick.
The problem I seem to be having is that because the swf movies load in on click it seems to be causing the rotation of the menu not to run smooth.
Question: Is it possible to get the swf movies to load in once the action of the click has completed its action. some kind of 2 second delay before the movies load in??
what happens: you can click or mouse scroll through the menu, when you click, the action repositions the selected Item (ActiveItem) in the center and resizes larger. this works great, is it possible after this action is complete to then load in the swf movies???
to see how the movie runs at the moment this is the link: [URL]
you will see at the moment onClick the movies load straight away which makes the rotation not smooth when rotating around.
I can't seem to get the mouse scroll to work the same function as the click at the moment also.....thats for another day
I'm quite new to flash and got stuck on a problem involving: loading external movie clips and file paths.I have 5 swf files and want to access them from one main navigation screen.[code]It fails after a few click because the file paths get duplicated..[code]Can any of you Flash gurus point me in the right direction?
View 2 RepliesI am currently using AS2 and I have three movies (a,b,c) and one Master movie that loads those movies in each frame.
[Code]...