about Focus
FocusEvent.FOCUS_IN— The target received focus.
FocusEvent.FOCUS_OUT— The target lost focus.
To set a custom tab order, use the tabIndex property of the InteractiveObjects you want to be able to tab to. Toremove them from the tab order and restore automatic tab ordering, reset all thetabIndex properties to their default, -1.
setTimeOut:设置超时时间,只会执行一次!
setInterval:设置一个间隔时间,间隔多久会触发一次!除非remove,否则会永久执行下去
利用外部库显示GIF动画
One example is the AS3 GIF Player library by Thibault Imbert, available at http://as3gif.googlecode.com/, that lets you display animated GIFs.
关于shareObject
The name of the shared object cannot contain spaces or these characters: ~ % & \ ; : " ‘ , < > ? #.
The first time you try to get the SharedObject with this name, it is created for you, so you don’t have to worry if a SharedObject already exists.
import flash.net.SharedObject;
var hiscores:SharedObject = SharedObject.getLocal("hiscores");
o not use
new to construct a
SharedObject. Use the static method
SharedObject.getLocal().