Step 1: Go into your button.
Step 2: Right-click the sub-button
Step 3: make an onclick function for it (this.onRelease = function()
)
Step 4: In the construction code, access the parent
of the sub-button, and tell it to go to the selectionInnerButton
frame like you've been doing: _parent.gotoAndStop('selectionInnerButton')
And there you go. However, what's wrong with your current code is that I noticed you are saying this.gotoAndStop
which makes me believe you are in your button, so the function should be this.ex.onRelease = function()
.