Yeah, you got it!

So it the x,y number you get PLUS the view x,y like

myMovieClip.x=screenvertex.x+view.x;

Should work..

-Pete

On Tue, Feb 3, 2009 at 5:50 PM, Manic <[email protected]> wrote:

>
> Arg! I'm answering my own questions here, yes that number is relative
> to the middle of the view... so now I guess I've got to work out the
> actual x,y coords.
>
> well maybe this will help others
>
> On Feb 3, 10:39 pm, Manic <[email protected]> wrote:
> > Ok, just found the camera.screen command, but it doesn't seem to
> > return correct values... or does it? It's returning lots of minus
> > numbers, so what are these relative to? the center of the view?
> >
> > http://graphicfilth.com/bin-release/Hacker.html
> >
> > On Feb 3, 10:15 pm, Manic <[email protected]> wrote:
> >
> > > Is there a way to get the screen coordinates of an object on screen?
> > > I've found a couple of solutions by searching, but they all seem to
> > > relate to commands that have now been depreciated.
> >
> > > Cheers
> >
> > > Martin
>



-- 
___________________

Actionscript 3.0 Flash 3D Graphics Engine

HTTP://AWAY3D.COM

Reply via email to