fumera
02-15-2005, 09:03 PM
allright
what we have is:
3 different movieclip backgrounds which fades in and out. The Instance name are 1mc, 2mc, 3mc
these 3 background mc's are controlled by 3 buttons 1,2,3
the mcbackground contains 2 stop action and 2 frame labels for the fade in and fade out stat.
these 3mc'a are on 3 layers overlapping each other.
now the big question is can somebody tell me the right script for these button which controlls the 3 backgrounds.
my best guess is something like this but of course it never works... just an expression.....
on (Release) = function() {
if (2mc.Number == "8" || 3mc.Number == "8"){
gotoAndPlay("close");
} else {
1mc.gotoAndPlay("start");
}
}
.Number in the Script symbolyzing the Frame Number, whitch is the open stat in the backgroundmc
it looks like this on the timeline of the backgroundmc... frame 1 stop(); frame 2 label start frame 8 stop(); frame9 label close
.....help ?
thanky guys
what we have is:
3 different movieclip backgrounds which fades in and out. The Instance name are 1mc, 2mc, 3mc
these 3 background mc's are controlled by 3 buttons 1,2,3
the mcbackground contains 2 stop action and 2 frame labels for the fade in and fade out stat.
these 3mc'a are on 3 layers overlapping each other.
now the big question is can somebody tell me the right script for these button which controlls the 3 backgrounds.
my best guess is something like this but of course it never works... just an expression.....
on (Release) = function() {
if (2mc.Number == "8" || 3mc.Number == "8"){
gotoAndPlay("close");
} else {
1mc.gotoAndPlay("start");
}
}
.Number in the Script symbolyzing the Frame Number, whitch is the open stat in the backgroundmc
it looks like this on the timeline of the backgroundmc... frame 1 stop(); frame 2 label start frame 8 stop(); frame9 label close
.....help ?
thanky guys