- 博客(2)
- 资源 (6)
- 收藏
- 关注
原创 AS3.0用代码控制播放一段视频
import flash.net.*;import flash.media.Video;var nc:NetConnection=new NetConnection();nc.connect(null);var ns:NetStream = new NetStream(nc);ns.client = this;var vid:Video=new Video();vid.attach
2013-01-19 17:45:45 1859
原创 AS3.0易错点1———————————— TextFormat用法
关于TextFormat,当文本首次通过非代码设置了其字体==内容之后,再通过TextFormat来改变其格式,如有设置字体,则被格式化的内容将不能显示。因此,可以设置字体以外的其它属性,而字体则最好不要设置。function forMat(txt:TextField,index:int):void{ var textFormat:TextFormat=new TextFormat();
2013-01-15 14:44:27 865
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人