Return to Snippet

Revision: 30128
at August 8, 2010 09:39 by goatboy91587


Initial Code
//declare a String, and assign a value to it
var str:String = "This is a string.";

//trace the value of the String
trace(str);

Initial URL
http://www.brettwidmann.com

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

Initial Title
Declaring and Outputting a String Value in AS3

Initial Tags
flash

Initial Language
ActionScript 3