PDA

View Full Version : action to go to _root


omargarcianet
08-13-2007, 07:59 AM
hello well in doing a small gallery i have some buttons inside a Mc
and i trying to link them to frames on the main Scene 1
this is what i am using buts not working???

b1.onRelease = function(){
gotoAndPlay("img1");
}
b2.onRelease = function(){
gotoAndPlay("img2");
}

i also tried this
gotoAndPlay ("Escena 1",5);
can someone help me:rolleyes:

kingscooty
08-13-2007, 09:24 AM
b1.onRelease = function(){
_root.gotoAndPlay("img1", 1);
}
b2.onRelease = function(){
_root.gotoAndPlay("img2", 1);
}

This should work :) Let me know as i'm currently at work and can't test it.

omargarcianet
08-13-2007, 10:57 AM
hey thanks that work great !:)

kingscooty
08-13-2007, 01:08 PM
No probs ;) glad i could help!