I'm setting these two properties in Main() but to no avail. They do
not affect the behaviour I'm seeing in my View3D.

On 11 Maj, 15:06, Fabrice3D <[email protected]> wrote:
> stage.align = StageAlign.TOP_LEFT;
> stage.scaleMode = StageScaleMode.NO_SCALE;
>
> Fabrice
>
> On May 11, 2011, at 2:48 PM, Johan Larsson wrote:
>
>
>
>
>
>
>
> > Hi,
>
> > I'm using Away3D 3.6 and my view3D scales based on the stage size.
>
> > In my project I have a 2d video clip behind my Away3D scene and
> > various away3d hotspots that point at things in the 2d clip.
>
> > I noticed recently that the scale of my 3d model changes based on the
> > size of the stage when the object is loaded.
>
> > I do have a RectangleClipping on my view based on the measurements of
> > the 2d object like this:
>
> > var viewMask:RectangleClipping = new RectangleClipping({minX:-
> > interfaceSwf.width/2,minY:-interfaceSwf.height/
> > 2,maxX:interfaceSwf.width/2,maxY:interfaceSwf.height/2});
>
> > backView.clipping = viewMask;
>
> > It is my understanding that this should be the way to solve the
> > problem with scaling but for some reason it doesn't work for me. When
> > I set the backView.opaqueBackground property I see that the whole
> > viewport scales down when the stage is small.
>
> > Is there a reliable fix for this problem?

Reply via email to