I am very new to AS3, so forgive me for asking such a stupid question!
I have multiple buttons placed within a movieclip. I want each of these buttons to go to different frames on the main timeline.
If I assign the code "Button One" to home_btn, this actionscript works fine. However when I go to add the script for the other buttons it comes up with an error:
1120: Access of undefined property about_btn
What am I doing wrong here? Any help would be muchly appreciated!
//--- Button One ---\\
(this.parent as MovieClip).gotoAndPlay("home");
//--- Button Two ---\\
(this.parent as MovieClip).gotoAndPlay("about");