Hi All, Got problem with my custom class inheriting default AS3 Array one. Not sure it's allowed in AS3, but it worked well with previous ActionScript 2. I've created small test case, it throws runtime error somewhere inside Array.splice call. Also in real application I am getting IE GPFs right after exception dialog closed.
P.S.: also reported this bug using web form - http://www.macromedia.com/cfusion/mmform/index.cfm?name=wishform [Error] ReferenceError: Error #1069: Property length not found on MyArray and there is no default value at Array/splice() at MyArray/bug() at test002::doTest() [test002.mxml] <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml" > <mx:Button click="doTest()" label="doTest"/> <mx:Script><![CDATA[ import MyArray; private function doTest():void { var a:MyArray = new MyArray(); a.bug(); } ]]></mx:Script> </mx:Application> [MyArray.as] package { public class MyArray extends Array { public function MyArray() { push("some data"); } public function bug():void { splice(0, 1); } } } -- Thanks, Vadim. -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/