Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

movie clip _root functions

Status
Not open for further replies.

B52AlphaJackal

Technical User
Mar 5, 2007
52
0
0
GB
hey i posted a message on here sometime last week about needing help gettin sum script to work and old newbie sorted me out.

but the problem is the script and everything operates exactly how it needs to inside the movie clip,

but when its on the main stage it refuses to work ive tried everything its doing my head in...

i need it to operate like this

yet when i put it inside a movie clip and put it on the main stage i get this:


ive tried changing the code to the instance name of the movie etc instead of level0 and i jst cant get it to work!

my flash file is uploaded here:

its just one keyframe out of my flash file as the .fla is like 4mb!
but in the proper one it will stop on this keyframe to operate!


Somebody help me before i lose my mind! please!
 
A few changes... (BOLDED)

FRAME 1...

nextMovie = currMovie = "bronze";

bronze_bt.onRelease = function() {
if(currMovie == "bronze"){
stop();
}else{
this._parent[nextMovie].gotoAndPlay("ZoomOut")
nextMovie = currMovie = "bronze";
}
};

silver_bt.onRelease = function() {
if(currMovie == "silver"){
stop();
}else{
this._parent[nextMovie].gotoAndPlay("ZoomOut")
nextMovie = currMovie = "silver";
}
};

gold_bt.onRelease = function() {
if(currMovie == "gold"){
stop();
}else{
this._parent[nextMovie].gotoAndPlay("ZoomOut")
nextMovie = currMovie = "gold";
}
};

platinum_bt.onRelease = function() {
if(currMovie == "platinum"){
stop();
}else{
this._parent[nextMovie].gotoAndPlay("ZoomOut")
nextMovie = currMovie = "platinum";
}
};

FRAME 2...

this.bronze.gotoAndPlay("ZoomIn");
stop();


And on the last frame of each "zoom" movie clip...

_parent[_parent.nextMovie].gotoAndPlay("ZoomIn");

Regards. FLASH HELP - OPENED FOR BUSINESS!
TO GET YOUR OWN FREE WEBSITE HOSTING
 
dude ur a fucking legend!!

i have no idea what i'd do without you haha!

thanks again!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top