I have 5 movie clips. I have 1 button inside in each movie with this information

on {release}
{_root.option = 1 (1 - 5 depending de button)
gotoandplay (36);
}


and in frame 40 on the main scene is this actionscript

if {_root.opcion == 1}
gotoandplay (60);

if {_root.opcion == 2}
gotoandplay (250);

if {_root.opcion == 3}
gotoandplay (500);

if {_root.opcion == 4}
gotoandplay (326);

if {_root.opcion == 5}
gotoandplay (79);

// THIS USED TO WORK WHEN THE BUTTON WAS IN THE MAIN MOVIE SCENE NOT INTO A MOVIE CLIP. I think the problem is with the button.

Im trying to make some transitions in my site but im really stuggling with this thing and the deadline in getting shorter LOL

Thank you for all the help you can give me!
pd. Apologies for my bad English.