Hi iiley, i can reproduce it and passed it to the flex team.
Cheers, Ralf. On 5/30/07, iiley <[EMAIL PROTECTED]> wrote:
Hi list, For a nightmare of AsWing A3 crashes flex compiler solved, related pages here : http://www.aswing.org/?p=40 and http://www.aswing.org/?p=142 Then i did a test to prove some thing, how flex compiler crashes with a legit syntax, here is the result: If you use if(false) and in it with a if(xxx!=null), then compiler crashes. For example: package { import flash.display.Sprite; import flash.geom.Rectangle; public class LittleTest extends Sprite{ public function LittleTest(){ if(false){ var str:String = "crash??"; if(str != null){ trace(str); } } } } } While you compiling that LittleTest class with warning flag turned on, the compiler will crash, you can try. :) If you change *if(false)* to *var b:Boolean = false;* *if(b)* ** or even *if(true)* ** Compile well, or if you change *if(str != null) *to* if(str) *compile well too. Hope this helps if you got this issue before. -- iiley AsWing http://www.aswing.org Personal http://www.iiley.com
-- Ralf Bokelberg <[EMAIL PROTECTED]> Flex & Flash Consultant based in Cologne/Germany Phone +49 (0) 221 530 15 35

