Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

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

Guest
May 13, 2013 May 13, 2013

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

TOPICS
ActionScript
671
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Deleted User
May 14, 2013 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

Translate
LEGEND ,
May 13, 2013 May 13, 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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
May 14, 2013 May 14, 2013
LATEST

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines