Skip to main content
May 14, 2013
Answered

Buttons in a Movie clip inside a Scroll Pane Component - AS2

  • May 14, 2013
  • 1 reply
  • 692 views

I have a scrollpane instance named myScroller in a swf.  It is linked to a movieclip named media.  Inside the movieclip are buttons that do not work when they are inside the scrollpane.  One button is named "morris" so I tried putting code on the timeline for the movieclip.

this.morris.onRelease= function():Void {

          _level8._visible=true;

          _level8.gotoAndStop(2);

}

this did not work - I tried putting it on the main timeline - above the scrollpane -

myScroller.morris.onRelease= function():Void {

          _level8._visible=true;

          _level8.gotoAndStop(2);

}

Specific help would be appreciated!

~Judy

This topic has been closed for replies.
Correct answer

OHHH - I just read the discussion about an e-mail link in a scrollpane.  I had the same problem - In the scrollpane properties I had clcked scrollDrag fro some reason.  Now it works!  Thanks

1 reply

Ned Murphy
Legend
May 14, 2013

Put traces inside those functions to see if they are executing.  If they are, _level8 is probably not what/where you think it is.

Correct answer
May 14, 2013

OHHH - I just read the discussion about an e-mail link in a scrollpane.  I had the same problem - In the scrollpane properties I had clcked scrollDrag fro some reason.  Now it works!  Thanks