:::: 菜单 ::::
月归档:四月 2010

list里面的对象怎样拖到画面里?

问题:
list里面的对象怎样拖到画面里?

思路
把list里的对象直接拖到画面里的功能,在场景编辑器里常常用到,我们会放一个List,里面每一项对应一个建筑物,用户可以把建筑物拖拽到场景中。这也和flash的元件库拖拽东西到舞台是一样的效果。
我们可以在List的每一项中存储该项所对应的ClassName,当拖拽开始时,创建对应的实例,并让它跟随鼠标。直到在画面有效区域中松开鼠标才将其添加到新的DisplayObjectContainer内。 [ 阅读全文 ]


无法设置Loader的大小?

问题:

  1. var loader:Loader = new Loader();
  2. loader.loadBytes(byteArr);
  3. return loader;

之后trace(loader.width,loader.height)为(0,0),
并且,只要通过loader.width和loader.height改变宽高,就会不见显示。

原因和解决:
loadBytes和load方法一样是异步的,需要监听complete事件,complete之后才可以对内容进行操作。

btw:从今天开始,针对网友的提问,不管简单复杂,只要我没写下来过的,都会记录到博客上。


Flash Player 10.1内部机制

本文是我在http://riaoo.com/?p=1658上看到后,转贴过来的,原文内容来自http://blogs.adobe.com/xwlin/2010/04/flash_player_101_-_adobe_max_2009.htmlhttp://blogs.adobe.com/xwlin/2010/04/flash_player_101_-_adobe_max_2009_1.html

演讲人: Lee Thomason (lthomaso@adobe.com)  翻译: 林晓伟 (xwlin@adobe.com)

序言

时间: 本月21号 地点:北京国际会议中心。 Adobe即将迎来为期2天的Flash平台技术峰会, 我将有幸作为Ely Greenfield辅助演讲人参与<<Flash Player内部机制>>这一话题的演讲和翻译工作, Ely Greenfield是Apollo Integrated Runtime部门的Senior Principal Scientist, 他在2007年Adobe Max大会上曾经作过这个话题的非常精彩的演讲,google上搜索到了一个参加07年Max大会的哥们对Ely本人及其演讲的评论,"我认为Ely的topic(Flash Player内部机制)在整个Max大会所有topic里是最棒的…" "Ely就是那个传说中闭着眼睛用三天的时间编写了Flex Charting Framework大部分代码的家伙"…

Adobe 09年的Max大会仍然有Flash Player内部机制这一话题,不过演讲者是Lee Thomason(另一个骨灰级牛人, Flash Player架构师, 外号Player Guy, 据说是Flash Player第一人), 这是一个非常有深度的话题, 演讲速度很快,一个小时的时间涉及到了player架构方方面面尽可能多的技术, 在这里我将他的大致演讲内容总结翻译一下, 供大家参考. [ 阅读全文 ]


Adobe平台技术峰会的一些收藏

主题:奥多比平台技术峰会
时间:2010年4月21日-22日
地点:北京国际会议中心二层

远在南方,不去现场。

网上看看,一样精彩:

在线P2P直播:http://202.108.6.253/fmsp2p/

CSDN及现场报道:http://subject.csdn.net/adobechinadeveloper/

Adobe平台技术峰会演讲内容泄漏:《Flash Player 10.1内部机制》连载

Adobe Flash平台开发者峰会谈RIA开发现状
Adobe Flash平台峰会现场纪实[北京2010-4-21至22日] + PPT下载
2010 Adobe峰会小记
AS3 Drawing API演讲稿

这篇日志会保持更新。


Adobe CS5套装已有下载地址

《奥多比CS5大师珍藏版(Win_Mac官方正式版)》(Adobe Creative Suite 5 Master Collection)CS5[光盘镜像]:
http://www.verycd.com/topics/2814048

另外,《奥多比影音套装》(Adobe.Creative.Suite.5.Production.Premium)CS5[压缩包]
http://www.verycd.com/topics/2818598/

51AS的CS5下载页面:http://www.51as.com/as3/as3-268.html

本日志为个人收藏贴,会随时间更新。
ps:盗版危害行业发展,使用免费资源仅可用于测试与学习。 [ 阅读全文 ]


一个巴掌一个故事-果果和砖砖

从前有两个小孩,一个叫果果,一个叫砖砖。

果果因为RP问题,从小被野狗咬过一口,所以脸上缺一块肉。

砖砖从小就多才多艺,由于根基很稳,所以对得起“砖砖”的名号。

果果和砖砖小时候一起上学,一起长大。

时光飞逝,果果和砖砖都长大了。

果果因为RP问题,尽管身体长大了,缺的那块肉还是豁在那里。

在偶然的机会下,砖砖邂逅了一个叫MM的才女。

[ 阅读全文 ]


[转]Apple Slaps Developers In The Face

本文转自http://theflashblog.com/?p=1888

[Adobe would like me to make it clear that the opinions below are not the official views of the company and are entirely my own.]

By now you have surely heard about the new iPhone 4.0 SDK language that appears to make creating applications in any non-Apple-approved languages a violation of terms. Obviously Adobe is looking into this wording carefully so I will not comment any further until there is an official conclusion.

[Sentence regarding Apple’s intentions redacted at request from Adobe]. This has nothing to do whatsoever with bringing the Flash player to Apple’s devices. That is a separate discussion entirely. What they are saying is that they won’t allow applications onto their marketplace solely because of what language was originally used to create them. This is a frightening move that has no rational defense other than wanting tyrannical control over developers and more importantly, wanting to use developers as pawns in their crusade against Adobe. This does not just affect Adobe but also other technologies like Unity3D.

[ 阅读全文 ]