<ActionScript 3 Bible 2nd>读书笔记(21,27,29)

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().  

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值