Hi,

Today, i start moving my AIR project from for AIR beta2 runtime to beta3,
because beta3 runtime can't run beta2 applications, i must do the moving.

But, a terrible thing happened, when i make my project compiled, the
myapp.xml renewed, all thing seems OK, but when i run it, nothing shown.
There's not any error throw to the FlexBuilder console, seems the
application runs well, but the AIR player Window is not shown.

One friend told me, because my Main class extends Sprite, my Main class is
not a mxml. Then, i did a simple test, i create a simple AIR project, this
code is :


package {
import flash.display.Sprite;
public class AWAir extends Sprite{

 private var dot:Sprite;

 public function AWAir(){

  dot = new Sprite();
  dot.graphics.beginFill(0xff0000);
  dot.graphics.drawCircle(200, 200, 80);
  dot.graphics.endFill();

  addChild(dot);
 }
}
}

With AIR beta2 before, i know it will runs well, but not, with AIR beta3, it
will not. And, the importance, i don't want mxml here in this project. So i
can't just modify my project to mxml.
I'm not familiar with AIR developing, maybe here some guys know how to solve
it, thanks in advance.

-- 
iiley
AsWing http://www.aswing.org
Personal http://www.iiley.com

Reply via email to