I’m using OOP and attaching objects to the timeline like so:
function Game(timeline:MovieClip) {
ground = timeline.attachMovie(“Ground”, “Ground_MC”, timeline.getNextHighestDepth(), {_x:-10, _y:230});
}
I’ve got a movieclip with a button inside it, how do i locate this button through the actionscript and apply actions to it? The button has an instance name of ‘starter’.
Alternatively…
How could I attach a button from the library to the timeline?
Preferably the first option due to needing to animate the movieclip and buttons within moving off the stage…
Thanks!