[font=Times New Roman]Ok, on a scene I have a movieclip, let’s call it “movie_mc” that has some button on it, “button_mc”. So the button is on the movieclip, not on the frame by itself.[/font]
[font=Times New Roman]In the frame’s code I want to write a function for when the button is released, but can’t seem to get the proper path to the button_mc. I’ve tried:[/font]
[font=Times New Roman]
[/font]
[font=Fixedsys]_root.movie_mc.button_mc.onRelease = function(){ /* code here */}[/font]
[font=Fixedsys]movie_mc.button_mc.onRelease = function(){ /* code here */}[/font]
[font=Fixedsys]button_mc.onRelease = function(){ /* code here */}[/font]
[font=Fixedsys]_root.button_mc.onRelease = function(){ /* code here */}[/font]
[font=Times New Roman]
[/font]
[font=Times New Roman]None of these however trigger the code when I press the button. If the movieclip is converted into a Graphic, then the 3rd line of code works. However, this isn’t an option because I really need it to be a movieclip. Any help?[/font]