sorry it must be scaleX=
scaleY=
scaleZ=

On Wed, Dec 23, 2009 at 3:04 PM, Valts Darznieks <[email protected]>wrote:

> I get this error when i try  local_modd.scale=0.5
> Main.as(235): col: 25 Error: Illegal assignment to function scale.
>
>  local_modd.scale(0.5);  worked fine when i tried on different module.
>
>
> On 23 dec., 15:00, Michael Iv <[email protected]> wrote:
> >     local_modd.scale(0.5); NOT THIS BUT --->  local_modd.scale=0.5
> >
> > On Wed, Dec 23, 2009 at 2:57 PM, Valts Darznieks <[email protected]
> >wrote:
> >
> >
> >
> >
> >
> > > load_3ds_module("volcano.3ds", matt);
> >
> > >                private function load_3ds_module
> > > (file:String,material:MaterialLibrary):void {
> > >                                var max3ds_handl:Max3DS = new Max3DS();
> > >                                max3ds_handl.material =
> material["wire"];
> > >                                max3ds_handl.centerMeshes = true;
> > >                                loader_cube.loaderSize = 5;
> > >                                loader_cube.loadGeometry(file,
> > > max3ds_handl);
> > >                                loader_cube.addOnSuccess(handle_stuff);
> > >                        }
> > >                private function handle_stuff(event:Event):void {
> > >                                var local_modd:ObjectContainer3D = new
> > > ObjectContainer3D;
> > >                                local_modd = (loader_cube.handle as
> > > ObjectContainer3D)
> > >                                local_modd.scale(0.5);
> > >                                myScene.addChild(local_modd);
> > >                        }
> >
> > --
> > Michael Ivanov ,Programmer
> > Neurotech Solutions Ltd.
> > Flex|Flash |Air |Games|OS|
> > Tel-0526237969
> > [email protected]
> > [email protected]
>



-- 
Michael Ivanov ,Programmer
Neurotech Solutions Ltd.
Flex|Flash |Air |Games|OS|
Tel-0526237969
[email protected]
[email protected]

Reply via email to