1 because system don't know the MCL's type, so it is regarded as dynamic(am i right?), So, add onLoadStart function define to it will be well.
But 2, MovieClipLoader is not a dynamic class, so you defined a onLoadStart function to its instance is not right, compiler try to find the onLoadStart property, but not found.
在06-3-21,awflasher <[EMAIL PROTECTED]> 写道:
the two following scripts seems to be the same, but different choice get different performance .
1 var MCL = new MovieClipLoader();
2 var MCL:MovieClipLoader = new MovieClipLoader();
when I use 1, I can just write my script like this:
MCL. (t) { ... }
But When I choose 2, the IDE tells me that the MCL object doesn't have the 'onLoadStart' method.
----
Can any one here gives me some hint on this in details. Thanks in advance.
你 知 道 2006 年 最 火 爆 的 电 子 邮 箱 吗 ?
多 达 1.1 亿 中 国 人 选 择 网 易 2000 兆 免 费 邮 箱 , 抢 注 再 得 280 兆 超 大 网 盘
_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org
--
iiley
AsWing http://www.aswing.org
Blog http://spaces.msn.com/members/iiley/
_______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
