ActionScript 3 variables


/ Published in: ActionScript 3
Save to your folder(s)



Copy this code and paste it in your HTML
  1. ActionScript 3 variables
  2.  
  3. var MyName:String = "Jack";
  4.  
  5. var userName:String;
  6. userName = "Jack";
  7.  
  8. var MyNum:Number = 3.14;
  9.  
  10. // integer
  11. var MyNum:int = -3.14
  12.  
  13. // positive integer
  14. var MyNum:uint = 3

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.