package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ var myVariable:Number = 15; // Write trace(myVariable); // Read myVariable = 16; // Write again trace(myVariable); // Read again } } }