jeudi 29 septembre 2016

How do we make an object/movie clip appear after 30 seconds

I am trying to make a quiz game in AS3; I had use the following code for keeping the points/scores


InstanceName.addEventListener(MouseEvent.CLICK, InstanceNameClick);
function change_bgClick(event:MouseEvent):void
    (root as MovieClip).InstanceName1.nextFrame();

But, how do I keep a timer?

For example: after 1 min, I need this to happend

INSTANCENAME2.visible = true;

Thank you.

Aucun commentaire:

Enregistrer un commentaire