addressing a timeline label inside a mc inside a mc
? how would you write:
if(c=1){
gotoAndPlay.home.trans "contact";
}
... .home is a mc that contains .trans mc and "contact" is a label in the .trans mc timeline.
I get the
contactbtn.on(press) {
gotoAndPlay ("next"); // address label within the current mc
}
but am unclear how to do this correctly when the timeline label is within a movie clip inside another movie clip.
thanks for the clarification
Self taught... still learning actionscript flasher
same concept... different line of code
code:
home.homebtn.on(press) {
_root.home.gotoAndPlay("home");
}
same concept, homebtn in inside the home mc inside the root timeline..
output reflects this:
Symbol=home, Layer=actions, Frame=1: Line 1: Expected a field name after '.' operator.
home.homebtn.on(press) {
could use a hand here as well... thanks so much...
tryed:
code:
home.homebtn.onPress {
_root.home.gotoAndPlay("home");
}
then I get the following output:
Symbol=home, Layer=actions, Frame=1: Line 1: ';' expected
home.homebtn.onPress {
where am I going wrong here?
Thanks again..:D