Posted By

goatboy91587 on 08/08/10


Tagged

flash


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

tspitzr


Declaring and Outputting a String Value in AS3


 / Published in: ActionScript 3
 

URL: http://www.brettwidmann.com

Used for the blog post: http://www.brettwidmann.com/2010/08/flash-primitive-data-types

  1. //declare a String, and assign a value to it
  2. var str:String = "This is a string.";
  3.  
  4. //trace the value of the String
  5. trace(str);

Report this snippet  

You need to login to post a comment.