Skip navigation
mimicobanana1
Currently Being Moderated

error on android 4.0.3,stage.stage3Ds.length=0,

Feb 17, 2012 2:02 AM

I wantto make a demo on xoom pad by android 4.0.3,

the apk work well on the desktop emulator ,but it can not get the stage3ds in device;

 

in the mobile app ,the ADDED_TO_STAGE event dose not work;

 

public function android_air()
  {
   //super();
   // 支持 autoOrient
   stage.align = StageAlign.TOP_LEFT;
   stage.scaleMode = StageScaleMode.NO_SCALE;
   //stage.addEventListener(Event.ADDED_TO_STAGE,addstage);
  
stage3d=stage.stage3Ds[0];

   stage3d.addEventListener(Event.CONTEXT3D_CREATE,oncreate3D);
   stage3d.requestContext3D();
  }

悲剧了  stage.stage3Ds.lenght=0;

<!-- The render mode for the app (either auto, cpu, gpu, or direct). Optional. Default auto -->

        <renderMode>direct</renderMode>

I have try cpu,gpu and direct;

I use air 3.1.0.488;builder4.6;

 
Replies
  • Currently Being Moderated
    Feb 17, 2012 9:45 AM   in reply to mimicobanana1

    Unless you are part of the closed beta, Stage3D is not yet available on mobile devices. It is rumoured to arrive in AIR 3.2 for mobile, sometime in the 1st half of this year.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points