[osflash] hi list, A question about OOP

=?gb2312?B?YXdmbGFzaGVy?= awflasher at 126.com
Tue Mar 21 04:52:14 EST 2006


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.onLoadStart = function (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.    
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://osflash.org/pipermail/osflash_osflash.org/attachments/20060321/6a156818/attachment.htm


More information about the osflash mailing list