Unable to scale custom View3D class

Software: Away3D 4.x

Cheesemaster64, Newbie
Posted: 20 February 2013 11:21 PM   Total Posts: 4

I have a custom class that extends the away3d view3D class, and I am trying to scale when the stage is resized.

However, though I receive no errors the scaleX and scaleY of this custom class is stuck at 1. Tampering with the width and height also results in undesirable results (both adding and subtracting results in a larger value, very buggy stuff).

I made a sample program that uses a non-custom view3D, and it scales perfectly.

Please let me know if this is a known bug, or if I am just missing something.

Thanks.

   

Cheesemaster64, Newbie
Posted: 04 March 2013 05:50 PM   Total Posts: 4   [ # 1 ]

I have changed my custom class back the native View3D class, but the same problem occurs.

If the View3D instance is not the only object present on the stage, would this cause problems? I have buttons and other UI elemets that were made in flash and they have their own respective classes. On top of this I have my View3D, and while the 2D elements all scale perfectly, the View3D doesn’t change scale at all.

Please let me know if I am being clear on my issue, as I am not a professional by ANY means.

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X