File a bug.

I can see why it is failing but it should not crash the browser.


--- In [email protected], "shauncutts" <[EMAIL PROTECTED]> wrote:
>
> The following code will crash Flash 9.0 r124 (debug version) when
> built with flex builder 3.0: (flash running on either Firefox or
> Safari, MacOS)
> 
> <?xml version="1.0" encoding="utf-8"?>
> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
> layout="vertical"
>     creationComplete="dotest();">
>     
>     <mx:XMLListCollection id="tree_collection">
>         <mx:XMLList xmlns="">
>             <a>
>                 <b/>
>             </a>
>         </mx:XMLList>
>     </mx:XMLListCollection>
>     <mx:Script>
>         <![CDATA[
>             public function dotest(): void
>             {
>                 var data:XML = tree_collection[ 0 ];
>                 data.setChildren( new XMLList() );
>             }
>                 
>         ]]>
>     </mx:Script>
> </mx:Application>
>


Reply via email to