Skip to main content
November 30, 2007
Question

Making buttons work that are not on Scene layer

  • November 30, 2007
  • 2 replies
  • 303 views
Hello,

Pardon me if this lingo sounds funny but I am new at this. I am trying to create a web page were there are buttons on a symbol off of the Scene. I want to move the time line when that button is pushed. However I can figure out the script to direct the button that is not on the Main Scene to do the movement on the Scene timeline.
If this makes any sense it's a miracle but I thank you if you can help me with the scripting lingo.

Bernie
This topic has been closed for replies.

2 replies

December 1, 2007
Thank you for your help but I figured it out.

What I needed was to place _root or a _parent before it.

Thanks though
kglad
Community Expert
Community Expert
December 1, 2007
you're welcome.
kglad
Community Expert
Community Expert
December 1, 2007
no miracle. that sounds vaguely like something related to flash, but is not clear enough to convey what you're trying to do.

but, in general, buttons will only work if they exist when you define their handlers. ie, their onPress etc methods. is that the problem you are having? you're trying to attach code to the timeline in one scene, while your buttons exist in another scene?