Skip navigation
wesY58
Currently Being Moderated

turn off scroll pane component pt2

Sep 12, 2012 8:17 AM

hello kglad

sorry, responded by email and it left off message. i guess my answer would be by code, but dragged from component panel. one unprofessional, uneducated workaround was putting a black box behind the text/graphics in other frames so it would cover up the scroll pane that doesn't go away.

 

on previous thread you asked...

are you adding your scrollpane with code?  if yes, remove it (removeChild, remove listeners and null it) with code.  if no, add an empty keyframe in the scollpane's layer after the keyframe where it's added.

 

below is the code followed by what's resulting after clicking the "next" button

 

#post1.jpg

#post2.jpg

#post3.jpg

 
Replies
  • kglad
    72,261 posts
    Jul 21, 2002
    Currently Being Moderated
    Sep 12, 2012 9:11 AM   in reply to wesY58

    attached to your next listener use:

     

    removeChild(sp);

    sp=null;

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points