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().
本文介绍了Flash中的焦点事件、自定义Tab顺序、定时器方法、GIF动画展示及共享对象的使用。详细解释了如何通过tabIndex属性设置交互对象的Tab顺序,并提供了setTimeout和setInterval的用法说明。此外,还推荐了一个用于显示GIF动画的第三方库,并概述了共享对象的基本操作。
183

被折叠的 条评论
为什么被折叠?



