/ Published in: ActionScript 3
                    
                                        
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
para.addEventListener(MouseEvent.CLICK, onClickHandler);
var marca:Boolean = true;
function onClickHandler(myEvent:MouseEvent)
{
//trace("I waited for Press AND Release!!!");
if (marca)
{
stopAll(stage);
marca = false;
}
else
{
playAll(stage);
marca = true;
}
}
Comments
 Subscribe to comments
                    Subscribe to comments
                
                