Easy AS3 toggle change in AS3


/ Published in: AppleScript
Save to your folder(s)



Copy this code and paste it in your HTML
  1. var clickOnce:uint=0;
  2.  
  3. clickOnce++;
  4. if (clickOnce==1) {
  5.  
  6. }
  7.  
  8. if (clickOnce==2) {
  9. //code here
  10. clickOnce=0;
  11. }

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.