ActionScript 2.0 :: Loading Movies From Sub Menu?
Nov 15, 2006
Basically 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]....
View 1 Replies
Similar Posts:
Nov 8, 2006
I would like to use Sliding Menu (URL...) on my web site,how to I load the external movie when user lands on let's say slide 3 (content3)?From actions script given on page URL...Then, when user go to another slide, I would ultimately would like to unload/stop the loaded swf movie
View 2 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
Dec 9, 2004
I made 4 short 2 minutes SWF "presentation movies" that I want to burn onto BizCard CDs and mail to clients and prospective clients. I created a menu with the four items to link tot he movies. I ASSUMED I would be able to do this but I cannot link from my four menu items to the movies. I have tried everything but I end up with looping or syntax errors.
View 3 Replies
Mar 2, 2009
I have created a menu that loads external swf files using this code:
[Code]....
Check out [URL] to see its operation. I am now testing a sub menu within one of these menu movie clips. When the mouse hovers over the movie clip, the sub menu movie clips appear. The sub menu movie clips have this same code (with the intention of the user being able to click on the sub menu movie clips and the new swf file kicks the current swf out of level 30 and loads the new one) however the swf file fails to load to level 30.
[Code]....
View 1 Replies
Jan 13, 2010
I am trying to create a flash service tutorial to appear on a website that will be able to play and load 6 steps of a process separately when prompted with a button click. I do not want to link back and forth between web pages to do so, but rather have the files loaded on demand and played within one flash movie "viewer" to keep things clean.
Each movie is going to be somewhat image heavy. load each of the 6 step movies within one main movie file?
View 2 Replies
Oct 31, 2009
I 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
View 6 Replies
Sep 21, 2009
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 Replies
Oct 1, 2009
I 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.
View 1 Replies
May 5, 2009
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 Replies
Feb 5, 2010
i 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.
View 1 Replies
Dec 31, 2003
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 Replies
Feb 13, 2004
on 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]....
View 4 Replies
Feb 17, 2003
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 Replies
May 30, 2005
I 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 Replies
Jun 18, 2003
how can i load 2 .swf movies simultaneously through one load movie action button ?
View 7 Replies
Jul 17, 2003
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?
View 6 Replies
Nov 5, 2009
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.
View 2 Replies
Dec 31, 2003
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 Replies
Mar 5, 2004
I 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 Replies
Jul 7, 2002
I 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].....
View 7 Replies
Feb 28, 2010
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 Replies
Feb 5, 2011
I 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 Replies
Mar 16, 2011
I 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]....
View 2 Replies
Mar 28, 2007
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...
View 1 Replies
Feb 6, 2010
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 Replies
Sep 24, 2010
I 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]......
View 8 Replies
Sep 4, 2009
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
View 9 Replies
Mar 24, 2010
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 Replies
Jan 10, 2011
I am currently using AS2 and I have three movies (a,b,c) and one Master movie that loads those movies in each frame.
[Code]...
View 1 Replies