Copy link to clipboard
Copied
Hi!
I have a movieclip with a button in it. I want the button to tell a movieclip named TriesRemainingMC on the maintimeline which is stopped on it's first frame to play.
I was thinking the code should be:
function PumpkinDeath()
{
stage.TriesRemainingMC.play();
}
Thanks ahead for your reply,
Line
The root timeline is exportRoot, not stage.
Copy link to clipboard
Copied
The root timeline is exportRoot, not stage.
Copy link to clipboard
Copied
Thanks @ClayUUID
That worked!
function PumpkinDeath()
{
exportRoot.TriesRemainingMC.play();
}