2010年12月7日

在as3中Embed(绑定)flash动画元素

摘要: ref:http://zszen.tbcheap.com/wordpress/life/?p=283你需要使用loader类的loadBytes方法将这个二进制流转换成显示类如果你需要控制embed进来的元件, 那么你需要侦听loader.contentLoadInfo的Event.Complete事件当完成装载后你既的内部embed元件就可以随心所欲的玩了此时的loader.content即为MainTimeline类, 这时你直接写loader.content.txt严格的话会报错, 你可以使用弱引用 loader.content["txt"] 然后声明个临时变量, 在cs5里面还能给个代 阅读全文

posted @ 2010-12-07 18:34 Tobin 阅读(1117) 评论(0) 推荐(0) 编辑

Embedding Resources with AS3

摘要: ref:http://www.bit-101.com/blog/?p=853Someone recently asked about “code injection” using AS3. Code injection comes from MTASC, where the byte code is added to an existing SWF. The person wanted to create a Flash 9 SWF with the Flash 9 AS3 preview IDE, and use mxmlc.exe to inject code into it.This i 阅读全文

posted @ 2010-12-07 17:35 Tobin 阅读(364) 评论(0) 推荐(0) 编辑

导航