Skip to main content
Known Participant
April 18, 2006
Answered

Button not working since it's been placed inside another MC

  • April 18, 2006
  • 1 reply
  • 196 views
Hi,
I have a button directly on the main timeline with the instancename kings_cross. I then have some methods in the main timeline, which work as they are supposed to when the button is pressed. However, I have now placed the button inside a MC which is contained within a scrollpane. I'm using the same code but the button doesn't work...I fear this maybe a scope problem so if anyone's brave enough to help me it will be greatly appreciated.

This topic is closed to new replies. Start a new post to keep the conversation going.
Correct answer donaldh98700320
You need to tell the button where the movestation function is located. Right now, with that code, it looks for it in the same MC as the button. One way to find out the relative positioning of everything is to do a preview and then select DEBUG and LIST OBJECTS and see what the full path to each is.

1 reply

donaldh98700320Correct answer
Inspiring
April 18, 2006
You need to tell the button where the movestation function is located. Right now, with that code, it looks for it in the same MC as the button. One way to find out the relative positioning of everything is to do a preview and then select DEBUG and LIST OBJECTS and see what the full path to each is.