I just found a way to do it, but I'm still getting an error.
On the main timeline I have:
var onBeat:Boolean = new Boolean;
and inside a movieclip I attempt to access it with:
MovieClip(root).onBeat = true;
and it technically works, the variable changes. But it throws this error which causes problems:
Error #1034: Type Coercion failed: cannot convert flash.display::Stage@7fffaa2c0d1 to flash.display.MovieClip.
Is this just an impossible task?
root
? How do you define it? Where do you define it? – user2655904this.stage.addChild(insideMc);
orthis.addChild(insideMc);
? – Yasuyuki Uno