Please Help With Loading Multiple Movies
Hi,
I am trying to load three different external swfs into a single frame of the main swf movie but don't know how.
I tried using this code:
loadMovie("external.swf", "movieholder");
but this only loads a single movie into that frame.
Can you please help me find a way to load three movies into 1 frame?
Thanks
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 06-01-2003, 05:51 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Loading Multiple Movies, Please Help
Hi all,
I am loading 3 external movies into 3 empty movieclips on the main time line. It loads fine on high speed connection, however, when I use a modem connection, some of the images in these external movies disappear.
Someone suggested to me that movies are loaded in sequenence, and flash probably doesnt like 3 movies being loaded at once. So I use content.getBytesLoaded() == content.getBytesTotal() to test and make sure a movie is loaded before loading the other one. However, this doesnt seem to solve the problem. Does anyone know why?
I have attached the fla, any help is highly appreciated.
Regards,
Joe
Loading Multiple Movies
I am trying to load multiple movies into a particular page that i am working on....I am having 0 luck. I am only able to load a single movie clip. can someone please offer a solution to this elementary dilema?? Thanks
-Sean
Loading Multiple Movies?
I've got a web page with two flash movies in separate HTML cells in a table. (MX) Instead of creating one large stage and using the loadmovie method where you do it within the movie, I'd like to link the movies so that when one finishes playing, the other then starts.(that way I wouldn't have worry about exact placement issues) What's the best way to do this? Do i need to set scripts on the end frame of 1st movie and beginning frame of 2nd movie?
I'm new to Actionscript and would appreciate some guidance.
Here's the movie if you want to see what I'm referring to:
http://66.65.180.232/~jsokol/SnobRepDynamic.html
You'll notice the typewriter effect is too much when both movies are running simultaneously.
Any ideas would be greatly appreciated,
John
Loading Multiple Movies
Hey all !
Is it possible to load a folder in flash?
I have a flash movie that links to a set of other movie files, all located within sepparate sub folder.
Any help or advice for loading them all before the first flash movie is viewed?
Using Flash 5
Cheers
Jon boY
Loading Multiple Movies: Please Help
OK, here is the site im working on.
http://jigga.surreal-media.com/test/layout.html
Now this site is pretty complex in that all teh content can be updated etc right in the flash site through a login and admin panel.
Each link is a seperate movie, so everytime they press a link button, it loads a movie onto level 3, (each link goes on level 3)
On level 2, is another seperate movie where: animation on the left, where the camera is spinning around the guy.
Now, after the preloading.. it loads the animation to level 2, the news to level 3 (news is the opening link), and an external mp3...
If you open the link in netscape, everything loads correcty, news pops up while teh animation is loading, and the music starts playing pretty close to the start of the site opening.
When I open this is Internet Explorer, the music doesnt play till after the animation is loaded and started.. then after the animation is loaded.. the news begins to load...
It seems that in internet explorer, only 1 thing can be loaded at a time while in netscape everything can be loaded at once.. and i REALLY need, everything to load at once, just like it does in netscape...
If anyone can help me it would be really appreciated..
Im having ALLOT! of trouble here, and im so lost
Thanks very much
Dion
Loading Multiple Movies
hi guys!
I have a base file which contains an empty movieclip which will load my first external movie.
What i want to happen is the following :: Let my base file preload, soon as that has finished i want my first external movie to preload.....soon as my external movie has finished loading, i want my base file to play the animation and then load the external movie into the movieclip without it loading (since it has been preloaded already)
Does anyone know how to do this?
Thanks for your help!!
Loading Multiple Movies
Hi.
Is it possible to loadmovie into the same movie clip?
I'm making a layout which uses several boxes to show content. Each box is a seperate movie.
Leroy
Loading Multiple Movies
Hi,
I am trying to load multiple movies, but I'm having some trouble. Here's what I've got:
Frame 1:
loadMovieNum("filename.swf", 50);
Frame 157:
unloadMovieNum(50);
loadMovieNum("filename.swf", 51);
Frame 173:
unloadMovieNum(51);
loadMovieNum("filename.swf", 52);
Am I missing something? Once the movie gets to frame 173 everything begins to replay and becomes layered overtop of each other. If anyone could help I would greatly appreciate it.
Thanks,
Jeremy
Q: Loading Multiple Movies
I'm loading multiple images in via loadMovie and was wondering how you guys would recommend settings this up. It's for a photo gallery and I was thinking about loading all the images in at once some how so that I could put a preloader on telling them how much has loaded. I want the preloader to show the percentage loaded of all the images. I'm not really sure how I could get this to work. I'm thinking I could load one image after another and do the percentage for each one of those, but I think it would be nice just to load like 10 images and somehow display the percent for all 10 of these. Does that make sense? Any thoughts on this would be appreciated. Here's the code I have to load the images in:
code:
for (i=0;i<_root.iVars.numImages;i++){
path.bin.attachMovie("mc_image", "new_image"+i, i)
item=path.bin["new_image"+i];
item.loadMovie("gallery/"+_root.iVars["image_file"+i]);
}//end for
Thanks!
Loading Multiple Movies
Hi,
I have my main movie, which then loads 6 different swf's using the LoadMovie command.
I currently count the number of frames in each swf, and then put the next LoadMovie when the previous one has ran through. However, i need to make some edits to some of the individual movies, so this will throw my timing out.
There must be an easy way to load another movie when one has finished, rather than making adjustments to the main timeline?
Thanks
Help With Loading Multiple Movies
hiya,
i feel like i scoured the whole 'net last night trying to find an example of this, but only found bits and pieces and put what i have so far together.
anyway, my movie is meant to load about 20 thumbnail images from a certain place on the web, and show them in a gallery style (rows of 3). when you click on them, they should launch the full size image. they are currently displaying correctly, but clicking on any of the images does
Code:
getURL(img_path+21+".jpg");
instead of the correct image. each thumbnail displayed needs to link to its own full size image (thumb1.jpg => 1.jpg)
thanks in advance to anyone who can help me figure out what i'm doing wrong with the loadMovie or whatever :/
the movie is only 3 frames long. here's the actionscript for thos who can tell me what i'm doing wrong without even havin to downlod this. the .fla is also attached, below. p.s. there's no php, it just is easier to read.
Frame 1
PHP Code:
var img_path = "http://www.junerock.com/palebirdhtml/img/photos/";
var i = 1;
var yo = 0;
var xo = 0;
Frame 2
PHP Code:
createEmptyMovieClip("thumb"+i,10+i);
this["thumb"+i].loadMovie(img_path+"thumb"+i+".jpg");
this.onEnterFrame = function()
{
if(this._width>0)
{
this["thumb"+i]._x = xo;
this["thumb"+i]._y = yo;
delete this.onEnterFrame;
trace(i);
if (((i-1)%3) == 0 && i!=0)
{
yo += 78;
xo = 0;
} else {
xo += 113;
}
play();
}
this["thumb"+i].onRelease = function ()
{
trace(i);
getURL(img_path+i+".jpg");
};
}
Frame 3
PHP Code:
i++;
if (i <= 20)
{
gotoAndStop(2);
} else {
stop();
}
Loading Multiple Movies?
Hello,
I have loaded a movie from a button using this script.
ActionScript Code:
on (press) {
_root.createEmptyMovieClip("container", 1);
loadMovie("agent_list.swf", "container");
container._x = 150 ;
container._y = 10
;
}
where agent_list.swf is the movie loaded into the empty clip "container.
When I try to use the same code within that movie to load another movie
ActionScript Code:
on (press) {
_root.createEmptyMovieClip("container", 1);
loadMovie("all_ways_trans.swf", "container");
container._x = 150 ;
container._y = 10
;
}
where all_ways_trans.swf is the movie loaded from the button pressed from the original movie, nothing shows up?
Loading Multiple Movies (.avi, .swf, .mov) Through XML Possible?
just went through this particular tutorial (http://www.kirupa.com/developer/mx2004/video.htm) ... i'm wondering how to go about loading multiple movies (ie. all .avi) persay for this thread's sake ... mov1.avi mov2.avi and mov3.avi
can i just use/go-through the image-gallery tutorial and do the same concept? or is there an easier way to go about doing it?
pretty much, the individual .AVIs would be small movies... so when a viewer goes to a webpage, the main .SWF will load (which have a play/pause button, and a time-bar). this then will play when at least the first movie is loaded (ie. mov1.avi).
any pointers concerning this? TIA
Loading Multiple Movies
Here's the situation:
I want to load multiple movies. I have 5 thumbnails. When you click on one of the thumbnails it loads a movie. When you click on another thumbnail, it unloads the movie previously loaded and loads the new movie. That's pretty much it. It sounds so easy, but I'm hitting a tough spot trying to figure it out. Can anybody PLEASE help me?
Loading Multiple Movies
hi guys!
I have a base file which contains an empty movieclip which will load my first external movie.
What i want to happen is the following :: Let my base file preload, soon as that has finished i want my first external movie to preload.....soon as my external movie has finished loading, i want my base file to play the animation and then load the external movie into the movieclip without it loading (since it has been preloaded already)
Does anyone know how to do this?
Thanks for your help!!
Loading Multiple Movies (.avi, .swf, .mov) Through XML Possible?
just went through this particular tutorial (http://www.kirupa.com/developer/mx2004/video.htm) ... i'm wondering how to go about loading multiple movies (ie. all .avi) persay for this thread's sake ... mov1.avi mov2.avi and mov3.avi
can i just use/go-through the image-gallery tutorial and do the same concept? or is there an easier way to go about doing it?
pretty much, the individual .AVIs would be small movies... so when a viewer goes to a webpage, the main .SWF will load (which have a play/pause button, and a time-bar). this then will play when at least the first movie is loaded (ie. mov1.avi).
any pointers concerning this? TIA
Q: Loading Multiple Movies
I'm loading multiple images in via loadMovie and was wondering how you guys would recommend settings this up. It's for a photo gallery and I was thinking about loading all the images in at once some how so that I could put a preloader on telling them how much has loaded. I want the preloader to show the percentage loaded of all the images. I'm not really sure how I could get this to work. I'm thinking I could load one image after another and do the percentage for each one of those, but I think it would be nice just to load like 10 images and somehow display the percent for all 10 of these. Does that make sense? Any thoughts on this would be appreciated. Here's the code I have to load the images in:
ActionScript Code:
for (i=0;i<_root.iVars.numImages;i++){
path.bin.attachMovie("mc_image", "new_image"+i, i)
item=path.bin["new_image"+i];
item.loadMovie("gallery/"+_root.iVars["image_file"+i]);
}//end for
Thanks!
Loading One Movie Vs. Loading Multiple Movies?
Greetings All,
I'm looking for some advice on the approach to loading multiple content "panels" on a website -- let's say we have a mini-intro panel (logo, tagline, etc.) and a news panel (rotating blurbs you can click on).
From a performance and optimization stance, is it better to:
1) create each panel as its own .SWF and load each one separately on a web page;
2) create each panel separately, and then use loadMovie(); to insert one into a layout space within the other;
3) just build all the functionality into one big honkin' .SWF.
I'm leaning away from Option 3, just for "simplicity of development" reasons.
My concerns are performance quality (will one approach run slower than another?) and bandwidth issues (how will dial-up users experience different approaches?).
I'm sure some of you have run into this before. I'm interested in your opinions.
Thanks.
Loading Movies Into Multiple Levels?
The site I am building has multiple movies.
When the user hits the menu buttons they load a movie above _level0. The next menu button they choose loads a movie on top of that (fading in), then removes the movie below once _alpha=100, the next movie loads on top of that, and so on.
Is there a way of then moving this new movie down from say _level2 to _level1, so that all new movies are loaded on _level2, rather than going up a level each time?
Your help would be much appreciated.
Skankin.
Loading Multiple Movies In Background
Dear all,
I've believed I have made soulution by myself. It seemed it worked fine on my local disc. But when published I didn't get any results.
I made two mc's, first as kind of controler named 'loader' with as many frames as many movies I intended to load. In each frame there were two statements like:
Sorry I don't know the source code by my head........but anyhow:
load movie (my movie into _level3);
stop;
On layer above there was only one looping mc with commands like:
if _level3.getbytesloaded == _level3.gettotalbytes
(
tell target loader
next frame;
)
Am I going right way ?
Is there any other solution ?
all best,
fvb
Problem Loading Multiple Movies
The Goal:To have 3 movies that play one after another controlled by one "master" swf.
The issues: I can only edit the master swf. The "sub" swfs are given to me in swf form. I also don't know how many frames are in the "sub" swfs.
Is there a solution to this issue? Is there a way on the master swf to check if the last frame of a loaded movie is played then load the next?
Thanks
Problem Loading Multiple Movies
Hi,
I have a main menu (cpu.swf) which loads a menu selection. When you select one of the menu, it will load another submenu (type.swf). In type.swf when I click on the submenu buttons, it doesn't load what I want to but when you run type.swf alone, it works fine. I don't know what is wrong. Can someone please help me?
Thanks a million!
Joann3
Problem Loading Multiple Movies
Hi,
I have a main menu (cpu.swf) which loads a menu selection. When you select one of the menu, it will load another submenu (type.swf). In type.swf when I click on the submenu buttons, it doesn't load what I want to but when you run type.swf alone, it works fine. I don't know what is wrong. Can someone please help me?
Thanks a million!
Joann3
Loading Multiple Movies -- How To Layer Them?
Hello I have a very simple question that Im sure all you AS Guru's could answer in a second. I have a main_mc calling multiple movies including my nav-- I use this to pull in the seperate mc's into the main_mc
Code:
this.createEmptyMovieClip("clip", 1);
this.clip.loadMovie("player.swf");
this.createEmptyMovieClip("clip2", 2);
this.clip2.loadMovie("player.swf");
I use this on the nav to pull in different pages into the main_mc
Code:
on (release) {
unloadMovie(1);
loadMovie("home.swf",1);
}
My problem is that I everytime i use loadMovie -- it loads it above my nav which is being called into the main MC. Is there a way to assing order level of each mc. In other words use code to layer is mc one on top of the other. I appreciate any help you guys can provide thanks.
oz
Multiple Flash Movies,not All Loading
I have built a page with multiple flash movies on it and when some users access the page they only see some of the players load and some don't. I am not sure why this happens, I have the players set to progressive download. could someone please advise?
the page is here
Loading Multiple Movies With Keystrokes
I have a movie with a blank mc on the stage. I have it set up so that when you press the RIGHT keyboard key it loads another movie in that mc. Here's the code for that:
Code:
stop();
this.onKeyDown = function() {
if (Key.getCode() == Key.RIGHT) {
loadMovie("ball.swf", blank_mc);
} else if (Key.getCode() == Key.LEFT) {
gotoAndPlay(2);
}
};
Key.addListener(this);
If I have more than one movie, how do I code it so that when I press the RIGHT key again it loads another movie as well as goes back when I press the LEFT?
Loading Multiple Movies With LoadMovie()
I have a very long Flash movie (created with RoboDemo), which had to be broken down into 2 swf files because it was too big.
I'm creating a container movie to load in each movie with loadMovie().
How do I get them to play one after another? So, movie1.swf would play from the start, and movie2.swf would begin immediately after the first.
Thanks!
Problem Loading Multiple Movies Sequentially
Hi all,
I have a main swf that creates an empty MC called container in using AS in frame1 and loads into it "nav.swf" at level 99. This works fine and if I use the code:
trace (container.getDepth() ) I get 99 even though the debugger says _level0 for everything.
The problem occurs when I want to load another .swf in the main move at level 98, AFTER nav.swf has not just loaded but also finished doing its stuff.
Nav.swf has a MC in it that "fades in" upon load in the main swf
and also does a short aninmation within the MC.
I want to load the new .swf into level98 after all this stuff is completed.
I tried putting in frame1 of main swf after the first load of nav.swf
if(container._currentframe == container._totalframes)
//then load new swf//
when traced
container._currentframe brings back 0
container._totalframes brings back 1
so this doesn't work
I am trying to access the timeline of the MC inside of container from frame1 of the mainswf. So I tried container.MCname.totalframes but it brings back undefined.
Any help is appreciated, thanks lisa
Loading Multiple Movies That Share Images.
Hi all - probably making things difficult for myself, but I have an html page into which I'm loading three movies within a template...
Two of the movies contain exactly the same JPG images used in completely different ways, but I'm not sure how to go about making the JPG images "shared" across the two flash files (effectively I want to avoid having to load the same image content twice in two separate flash movies)...
Its been a long day - so I'm sure it's just me missing something obvious...
Any help would be vastly appreciated.
Regards.
Cormski
Loading & Unloading Multiple Movies On Levels
Hello Everyone
i am making a site which works by loading seperate swf`s onto a main movie.
i have used this actionscript=
on (release) {loadMovieNum("1.swf",1);
}
on (release) {unloadMovieNum(2);
}
on (release) {unloadMovieNum(3);
}
on (release) {unloadMovieNum(4);
}
on (release) {unloadMovieNum(5);
}
on (release) {unloadMovieNum(6);
}
i did a similar project which worked fine with 4 levels, however, now im using a few more i was wandering if there is a simple piece of code that will adress any movie which is already open-to close (apart from the main background) instead of a line of code for each level?
thanks in advance
[CS3/AS2] Smoothly Loading/unloading Multiple Movies
Hello,
I have a newb question here.
I'm loading/unloading 3 movies into a single container MC. Is there a way that I can smoothly unload a movie as opposed to the movie simply disappearing when the next movie is being loaded?
(The movies MUST be loaded into a holder, I can't use loadmovienum)
Thank you!
Loading And Syncing Sound With Multiple Movies
Ok so I searched and looked through the tutorials and didn't quite find what I need.
I have several movies (swfs) I want to load onto one timeline, then play sound while they play. Each movie has a preloader in it. However I want to wait until all the movies are loaded before I start the sound. Is there any way to sync the two? Can I put a load script in the main timeline that loads all the swfs?
Thanks in advance.
Angela
Loading Movies From Multiple Paths /interactive CD
I am working on an interactive "Do It Yourself - Home repair" CD. Users are presented with multiple choices. When click on choice 1 (Ex: Windows), can then read about that option, and then click on sub-choices related to topic. So far so good. Here's the catch. From within the subchoice- uses can go to other semi-related topics, taking them to a completely different category (Ex: Floors). Paths are all relative - so when external movie is now loaded into the Floors movie - it's still trying to load it from original movie - file structure is all messed up. Problem is I can't change the path, because depending on where user clicks to get to choice, path has to be different. How can I get around that?
(I don't think I should use absolute paths, because I'm not sure about the final file structure for all files.)
Hope I'm making myself clear. Please let me know if you need more/better/more detailed explanation.
Also - what is the best way to create the final project - all components are in Flash now. How do I put it all together on one interactive CD???
Thanks guys!
Loading Multiple Movies Into Host Movie
OK im somewhat of a flash noob...
Im working on a full flash site. I have the first movie the one with the navigation and such trying to load 2 other movies...
one for the pages info main etc... and another to load different movies that play loops...
the problem im having is im trying to load the main page and the main loop on the script layer...
_root.mainloc.loadMovie("main_sub.swf");
_root.looploc.loadMovie("loop_sub.swf");
i have that... when i do that is just loops between the two... when i just use one it works fine... but with both.. it don't work it has a seizure... and convulses... anyone know a fix?
Loading Multiple Movies Into Host Movie
OK im somewhat of a flash noob...
Im working on a full flash site. I have the first movie the one with the navigation and such trying to load 2 other movies...
one for the pages info main etc... and another to load different movies that play loops...
the problem im having is im trying to load the main page and the main loop on the script layer...
_root.mainloc.loadMovie("main_sub.swf");
_root.looploc.loadMovie("loop_sub.swf");
i have that... when i do that is just loops between the two... when i just use one it works fine... but with both.. it don't work it has a seizure... and convulses... anyone know a fix?
Loading Multiple Movies On Targeted Clips
I have a problem almost similar to renjamin's. I have multiple movies loading, one loading on level 1 and one loading in a targeted movieclip or holder with the instance name 'content'. For some reason the movie loading at level 1 which is footer.swf loads first. While that's loading, the targted clip should load too the same time the movie at the level is loading but for some reason it's not. It either lags behind or it doenst load at all, like it just gives up. This is more noticeable with people on a 56K. In some cases I have a navigation with buttons that load different swf movies into the same targeted movie clip ('content'), but they too lag or not load at all. This is what I have on my buttons:
btn_1.onRelease = function() {
loadMovie("news.swf", "content");
};
Also when I try and click on the button again, it finally shows the loaded movie, but it fails to show the preloading scene first. All of my swf movies have two scenes, a preloading scene and the main movie.
I don't know if it's my preloader that is messing things up, but I seriously need help.
Load Variables... Loading Text In Multiple Movies
I have a .txt file that I want to store all my text in.
I have 5 movies that use the .txt file.
I have on the main timeline:
loadVariables("menu.txt", "systems");
movie 1 is "systems"
but the other 4 are different instance names.
and on the main timeline I don't want to have 5 total commands that say, loadVariables("menu.txt", "4 other instance names");
Can I have one loadVariables that will work in 5 different movies that have 5 different instance names???
Thanks,
Sound And Desplay Problem When Loading Multiple Movies
I have a project wich working as follow
1-a movie Characters.swf that have 36 buttons wich have
a-an event sound attached to over frame
b-other event sound attached to down frame
when clicking (On release) the button it load movie wich name is 1.swf and godjag.swf
on (release) {
unloadMovieNum(0);
loadMovieNum("1.swf", 0);
loadMovieNum("godjag.swf", 3);
}
evrey button have corrisponde swf 1.swf,2.swf,3.swf...
the godjag.swf have a one button
with the event
on (release) {
loadMovieNum("Character.swf", 0);
unloadMovieNum(3);
}
THE PROBLEM IS that somtime the 1.swf,2.swf... which begans with a stream sound (approx. 1 minuth) begins to crack and the clips became so slow and after all its stop and the sound desappear, this not happens evrey time it hapanes somtimes rarley and somtime offtenlly.
CAN YOU HELP ME
Soun And Display Problem When Loading Multiple Movies
I have a project wich working as follow
1-a movie Characters.swf that have 36 buttons wich have
a-an event sound attached to over frame
b-other event sound attached to down frame
when clicking (On release) the button it load movie wich name is 1.swf and godjag.swf
on (release) {
unloadMovieNum(0);
loadMovieNum("1.swf", 0);
loadMovieNum("godjag.swf", 3);
}
evrey button have corrisponde swf 1.swf,2.swf,3.swf...
the godjag.swf have a one button
with the event
on (release) {
loadMovieNum("Character.swf", 0);
unloadMovieNum(3);
}
THE PROBLEM IS that somtime the 1.swf,2.swf.. which begins with a stream sound (approx. 1 minuth) begins to crack and the clips became so slow and after all its stop and the sound desappear, this not happens evrey time it hapanes somtimes rarley and somtime offtenlly.
CAN YOU HELP ME
Loading Multiple Movies As Main Movie Plays
This is probably a easy solution, but I'm missing it. I have 9 separate swf files that are rather large. They all link from the main movie. I need to see about having the lot of movies load as the main site opens and plays. The additional movies do not play within the main site, they are stand alone files that don't require anything from the main movie.
Is there a simple way to designate these movies to start to load in the background? Basically, as soon as the site opens, I'm wanting everything to start loading...
Thanks
Movies In Movies And Multiple Scenes...grrrr HELP
Hi all!
loadMovieNum ("events.swf", 8);
level8.gotoAndPlay("DIRECT3");
stop ();
ok, i have just done a few flash movies, but I am openning swf files in my movie, however these movie have a preloader and a 2nd scene before the main scene.
The problem I have is that I need play from a frame in my main scene (called Direct3).
I used the above AS to load my movie, but I have a feeling that its not going to my requested frame label...
I am sure this is possible, please could someone point me in the right direction...
Thanx in Advance....
WolfFang
[CS3] A Question About Using Multiple Scenes Or Multiple Movies...
If I wanted to creat a personal site, with say my BIO, Resume, etc, and I wanted to use a format similar to what 2advanced.com uses. Would it be best to use multiple scenes or multiple .fla documents.
The idea is, that when I have a user click a button, or a menu item or whatever, it takes them to a different section of my site, but I want a seemless transistion between pages.
Does that make sense?
HELP Multiple Buttons Controlling Multiple Movies
I hope someone can either help, or point me in the right direction!
I am trying to do a little program for kids, where there make their own plants. They are to pick from several buttons; the petal, leaf size and stem size. Once they have done that, they have to then click sun and water. Only then does flash fetch the correct movie case that matches with the buttons pressed, and plays it.
My problem is this...i am a total newbie, and have no idea where to start! Any tips would be very appreciated, or if anyone has stumbled across any tutorials that might help, i would be very grateful!
thanks
Controlling Multiple Movies With Multiple Buttons
I am trying to use variables to control mulitple movies with multiple buttons (I think). I can get one button to control all the movies the way i want, but not ALL the buttons to control ALL the movies.
Take a look at the main menu on exopolis.com and you'll see the effect I'm going for
http://www.exopolis.com
I am also using the code from joshua davis' flash to the core (tutorial #8). I'm try to apply this same concept, but with mulitple movies and mulitple buttons.
http://flashtothecore.praystation.com
I have four movies named:
home_mc
work_mc
play_mc
contact_mc
Each movie has a button within them that declares a variable that will be true or false depending on the rollver state. (fade01,fade02,etc.)
In the root, first frame I have the following:
//handle the onEnterFrame event
_root.bt_home_mc.onEnterFrame=function(){
if(_root.fade01){
_root.bt_work_mc.nextFrame();
_root.bt_play_mc.nextFrame();
_root.bt_contact_mc.nextFrame();
}else{
_root.bt_work_mc.prevFrame();
_root.bt_play_mc.prevFrame();
_root.bt_contact_mc.prevFrame();
}
};
//handle the onEnterFrame event
_root.bt_work_mc.onEnterFrame=function(){
if(_root.fade02){
_root.bt_home_mc.nextFrame();
_root.bt_play_mc.nextFrame();
_root.bt_contact_mc.nextFrame();
}else{
_root.bt_home_mc.prevFrame();
_root.bt_play_mc.prevFrame();
_root.bt_contact_mc.prevFrame();
}
};
//handle the onEnterFrame event
_root.bt_play_mc.onEnterFrame=function(){
if(_root.nav_mc.fade03_mc.fade03){
_root.bt_home_mc.nextFrame();
_root.bt_work_mc.nextFrame();
_root.bt_contact_mc.nextFrame();
}else{
_root.bt_home_mc.prevFrame();
_root.bt_work_mc.prevFrame();
_root.bt_contact_mc.prevFrame();
}
};
//handle the onEnterFrame event
_root.bt_contact_mc.onEnterFrame=function(){
if(fade04){
_root.bt_home_mc.nextFrame();
_root.bt_work_mc.nextFrame();
_root.bt_play_mc.nextFrame();
}else{
_root.bt_home_mc.prevFrame();
_root.bt_work_mc.prevFrame();
_root.bt_play_mc.prevFrame();
}
};
On each button I have the following (except the variable is unique....fade01, fade02, etc)
on(rollOver){
_root.fade01=true;
}
on(rollOut, dragOut){
_root.fade01=false;
}
Please help. This is for a personal project. If you need my fla file, i can send it to you. Thanks
[CS3] Help With Using Multiple Scenes Vs Multiple Movies
Hi,
I wanted to create a personal site using Flash CS3. I wanted to a site with different sections outlining different things (obviously). I wanted the site to behave similar to 2advanced studios' site (2advanced.com)
Does that make sense? Do you guys think it's best to use multiple movies or multiple scenes using this technique?
Loading Movies Inside Other Movies In An Ext Movie Holder?
Here's one for you:
I've got my main movie that has a movie holder on it (entitled movieholder.) The buttons on the left control what goes in the movie holder. In one of the movies there is a list of songs that are actually buttons. These buttons call up another movie(with MP3s). How do I get the MP3 movies to go into "movieholder" when they are being called by a button inside 'movieholder'
I'm using MX
Hope that made a slight bit of sense!
Thanks for any help,
Graeme
Loading Movies Into Movies With Scroll Bars O_O
I have a site where I'm showcasing my talents (Obviously figuring scripting out won't be one of them) and I load movies into the central area by using simple commands, and it all works. Now I need to have of of those movie to scroll around, because I'm showcasing banners and have more than 400 pixels of height can fit.
I was thinking of using the same textField system that I used for my news section, but replacibng the textField part was a different thing for Movies.
There's got to be an easier way though. Can anyone help me?
Ummm... Loading Movies Inside Movies.... Help?
I posted a question about this a month or so ago, but now (I've had to work out problems on other sites in the meantime) I'm totally ready to figure this out!
I have a VERY large Flash Web site. So, it was suggested that I chop up the site into a few smaller movies. From there, I would set up a main page with a ["target"?] movie clip nested in it. Then, when a button has been pushed, the corresponding swf loads inside the movie clip. I think I can handle that... (although a nice tutorial would be great!)
The problem I'm having is... These swf's can be 'called' from each other, meaning the same buttons will be in each movie. However, the buttons will trigger different frames in each movie, depending on which movie you're already in. I'm betting this is confusing...
EXAMPLE: Every page has 4 buttons, "Who We Are", "Success Stories", "Portfolio", and "Contact". From the Home page you can push any of these buttons and it will go to the first frame of the corresponding movie and a quick, little animation displays as it takes you into the page. That's great. The problem is that, if you were in the "Who We Are" page and clicked "Contact" it should NOT go to Frame 1 of that movie... It should go to Frame 30, because there is a specific animation that connects "Who We Are" to "Contact" that is not the same as the connection animaton between "Home" to "Who We Are". So how do I get the code to be more specific?
HELP!
~Vik
http://www.explorecore.com/index3.html
|