Using Untyped Variables with the Wildcard (*) Data Type
package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var x:*; x = 3; trace(x); x = "name"; trace(x); } } }