_loadmovie Problem
Currently I am working on a site, and I was
hoping that someone could lend me some expertise in streamlining. The site is
http://www.startrakstudios.com and as you will see I created a separate
movie for each button - connected using the _loadMovie action. As you may
also see when any of the service buttons(in green) are hit, all graphics
flash off for a moment. Perhaps separation of each service into a separate
movie is not the way to go?
Any suggestions on getting rid of this blackout would be much appreciated.
Thank you for your time.
_createEmptyMovieClip, _loadMovie Positionsing
when in click a button, i want an external movie clip to load, and i want it to load in a specific place. what i have tried below isn't working.
on (release) {
_root.createEmptyMovieClip("item_mc",1);
item_mc._x = 502
item_mc._y = 33
item_mc.attachMovie("WEBsml.swf", "WEBsml_mc",1)
}
why doesnt this work?
please help, thanks
_root/_level/_loadmovie Question... Or Something.
okay, i'm not exactly sure how to explain what my question is, so i'll just say exactly what i'm looking to do... and what i've got so far. here goes.
so here's the basic idea:
i have one main movie clip called "main.swf". This swf has 3 buttons, which load three different "sub" movies... depending on which button was pressed. when it first plays, the main movie also loads one of these "sub" movies, which plays the intro sequence until a stop() command. when a button on the main movie is pressed, the current "sub" movie finishes playing the outro sequence and loads the requested movie. when another button is pressed... it finishes the current movie and loads the requested one... etc.
now, this all works wonderfully, until i try to go one step further. when a "sub" movie is loaded, it too has a few buttons, which when clicked will load their own "mini" movies with intro and outro sequences of their own.
now, here's my code for the first part.. without the "mini" movies part.
-------------------------
IN MAIN MOVIE
-------------------------
----------------
on the first frame
----------------
loadLevel = 2;
--------------
on the buttons
---------------
on(release) {
if(_root.loadLevel==1) {
_root.loadLevel=2;
} else {
_root.loadLevel=1;
}
_level0.destination = "loaded4";
if(_level1) {
tellTarget("_level1") {
play();
}
} else {
tellTarget("_level2") {
play();
}
}
}
------------------------
load a movie somewhere
------------------------
loadMovieNum("loaded1.swf",_level0.loadLevel);
---------------------
IN EXTERNAL MOVIES(on last frame)
---------------------
if (_level0.loadLevel == 1){
loadMovieNum (_level0.destination + ".swf", 1);
unloadMovieNum (2);
}else{
loadMovieNum (_level0.destination + ".swf", 2);
unloadMovieNum (1);
}
i know that it's big on confusing... any help though??