dont forget updateAfterEvent(); with the MouseMove use. it tells the player
to refresh visuals after the calculated mouse move event you catched even if
it wasn't time to render that frame.

On 3/2/07, Yehia Shouman <[EMAIL PROTECTED]> wrote:

1) either double click your clip and group everthing and center it
manually

OR
2) make sure your graphics inside that clip is at 0,0
and then

inside your MouseMove handler or onEnterFrame handler;
toCenterClip._x = _xmouse - (toCenterClip._width/2);
toCenterClip._y = _ymouse - (toCenterClip._height/2);

Yehia



On 3/2/07, [p e r c e p t i c o n] <[EMAIL PROTECTED]> wrote:
>
> good people,
>
> how do i move a moviClip to center itself at (_xmouse, _ymouse)...i have
> the
> onPress part down...i just need to center it on those coordinates
>
> thanks
> _______________________________________________
> [email protected]
> To change your subscription options or search the archive:
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>
> Brought to you by Fig Leaf Software
> Premier Authorized Adobe Consulting and Training
> http://www.figleaf.com
> http://training.figleaf.com
>


_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to