Hi
You probably need to declare some sort of variable for the movieclip to compare against
try doing something like this in the main timeline
and inside the trashInside_mc movieclipPHP Code:import flash.events.MouseEvent;
var clicked:Boolean = false;
startClipButton.addEventListener(MouseEvent.CLICK, startClip);// this is other clip to be clicked
function startClip(e:MouseEvent):void
{
clicked = !clicked;
trace(clicked);
trashInside_mc.play();
}
you can put all code on the main timeline really, but best get your thing working first, just mess around with it xPHP Code://if (parent["clicked"] === false)
if (MovieClip(parent).clicked === false)
{
stop();
}
else
{
nextFrame();
}





Reply With Quote
