var vect3D:Vector3D = view.globalToLocal3D(spritePos2D);

spritePos2D contains x and y positions of sprite in stage.

One of the parameters is invalid.
at flash.display::DisplayObject/globalToLocal3D()
This is the error i got...



On Jun 3, 1:55 am, Michael Iv <[email protected]> wrote:
> Yeah , because view extends sprite these are available. What  are the
> errors?
>
>
>
>
>
> On Thu, Jun 3, 2010 at 11:52 AM, vib <[email protected]> wrote:
> > But still i getting the wrong parameter error...
>
> > On Jun 3, 12:46 am, Michael Iv <[email protected]> wrote:
> > > Man , all these are Away3D methods because as far as I know Flash player
> > has
> > > no View3D and Camera3D classes :)
> > > Also I suggest you to use Away3d 3.5  (player 10) especially because You
> > > develop a game .
>
> > > On Thu, Jun 3, 2010 at 10:41 AM, vib <[email protected]> wrote:
> > > > tnx for your valuable help.I'm using flashplayer 9.
> > > > local3DToGlobal()  is in flashplayer 9 or in away3D?
>
> > > --
> > > Michael Ivanov ,Programmer
> > > Neurotech Solutions Ltd.
> > > Flex|Air
> > |3D|Unity|www.neurotechresearch.comhttp://blog.alladvanced.nethttp://
> >www.meetup.com/GO3D-Games-Opensource-3D/
> > > Tel:054-4962254
> > > [email protected]
> > > [email protected]
>
> --
> Michael Ivanov ,Programmer
> Neurotech Solutions Ltd.
> Flex|Air 
> |3D|Unity|www.neurotechresearch.comhttp://blog.alladvanced.nethttp://www.meetup.com/GO3D-Games-Opensource-3D/
> Tel:054-4962254
> [email protected]
> [email protected]

Reply via email to