Adobe Air Mobile View3D scale

Software: Away3D 4.x

Avatar
oladitan, Member
Posted: 25 February 2013 08:41 PM   Total Posts: 71

Hello. I am testing Away 3D 4.10 with adobe air on my samsung galaxy s3. I found that the View3D does not scale with the stage using

stage.scaleMode StageScaleMode.EXACT_FIT

I would like the 3D view to scale with the stage. is this possible. I was thinking of finding a way to capture how much the stage is being scaled to fit the devices screen. Then I could use that scale factor to scale the View3D. Thankyou.

   

Avatar
mrpinc, Sr. Member
Posted: 25 February 2013 09:19 PM   Total Posts: 119   [ # 1 ]

You should try to use stage.scaleMode = StageScaleMode.NO_SCALE.

Then listen for Event.RESIZE on the stage.  When that even occurs you can resize your Away 3D view to match the stage size.

   

Avatar
oladitan, Member
Posted: 25 February 2013 09:39 PM   Total Posts: 71   [ # 2 ]

thanks mrpinc. I believe that your suggestion has resolved the issue I was having.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X