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
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com