FORUMS: list search recent posts

Change mc position when mouse stopes moving

COW Forums : Adobe Flash

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Miroslav Hora
Change mc position when mouse stopes moving
on Jun 23, 2009 at 11:34:30 am

Hi
I need a small advice with this:
http://megaswf.com/view/acfd77138f2afbd136942c83759f1c46.html

The ball is separated to 3 mc's - myMC,myKulicka,myShadow

AS:
_root.onEnterFrame=function(){
if (startMoving==true){
myMC._rotation=_xmouse;
myMC._x=_xmouse;
myMC._y=360;
myKulicka._x=_xmouse;
myKulicka._y=360;
myShadow._x=_xmouse;
myShadow._y=360;
}
}
myMC.onRollOver=function(){
startMoving=true;
}
myKulicka.onRollOver=function(){
startMoving=true;
}
myShadow.onRollOver=function(){
startMoving=true;
}
Everything works fine but i need to add function which changes linearly the positon of 3 mc's to the center when the mouse stops moving. Thx for advice

http://kreativec.com
Prague - CZ


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]