package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var myVariable:Number = 6; myVariable = myVariable + 6; trace(myVariable); //12 myVariable += 6; trace(myVariable); //18 } } }