ActionScript 学习: 原来Flash这么用都可以 啊
2016-08-25 16:14
471 查看
机器上装了FLASH MX2004 ,一直没有使用,今天看了下,发现完全不会用,算了,还是慢慢来吧,这里做了个小例子,动态加载图片的,很郁闷啊
大小: 115.9 KB
大小: 45.3 KB
查看图片附件
var mc:MovieClip; var arr:Array; var bool:Boolean; var num3:Number; var obj:Object; var str:String; _root.createTextField("results",2,100,100,300,300); with(results){ text = "色色学习ActionScript -- vb2005xu.iteye.com"; text += "\ntype MovieClip :"+(typeof MovieClip(str)); // 返回 null text += "\ntype object :"+(typeof Object(str)); // 返回 object text += "\ntype Array :"+(typeof Array(num3)); // 返回 object text += "\ntype Boolean :"+(typeof Boolean(mc)); // 返回 boolean text += "\ntype String :"+(typeof String(mc)); // 返回 string text += "\ntype Number :"+(typeof Number(obj)); // 返回 number text += "\ntype Function :"+(typeof Function(mc)); // 返回 object text += "\ntype null :"+(typeof null(arr)); // 返回 undefined text += "\ntype undefined :"+(typeof undefined(obj)); // 返回 undefined }
大小: 115.9 KB
大小: 45.3 KB
查看图片附件
相关文章推荐
- 深度寻路算法,原来算法可以这么简单的理解学习?!
- Hyperlink的target属性原来可以这么用 --zt
- 原来学习技术是这么枯燥的一件事
- 原来JS可以这么写
- 原来程序可以这么写-Terracotta Sample
- java连连看源码分享(原来连连看这么简单,你也可以写)
- 学习.NET遇到的第一个问题。原来解决这么简单
- 免费的东西原来可以这么好——看Eclipse和Firefox
- 原来还可以这么写sql语句
- G1->I7500->G2,手机原来可以这么有趣
- Hyperlink的target属性原来可以这么用
- 原来跟新语句和查询语句通用的跟新可以这么写的
- 原来word可以这么玩——word常用技巧精选
- 数学 原来可以这么诗意
- 原来一串空格可以这么写
- flash:学习ActionScript的一些提示
- 原来这么简单就可以申请Blog了,害我还自己做了一个~
- linux 0.11 内核学习 -- keyboard.s,键盘原来是这么干的。
- javacv开发环境配置–一切原来可以这么简单
- 看完白蛇传说后你会发现原来爱可以这么龌龊和自私,无内涵和无聊.