Converting a String Object to a Primitive
package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var s: String = "Hello, world!"; trace(s); // Displays: Hello, world! trace (s .valueOf ()); // Displays: Hello, world! } } }