View Full Version : check fall
james182
October 12th, 2005, 02:43 AM
i have a 3 mc's when you click one it falls. What i need is for it to check if the 2 others are still there if not then put them there..
nathan99
October 12th, 2005, 03:00 AM
i see ur new here, this is probably the easiest way for you.
on the frame
mc1X=mc1._x;
mc1Y=mc1._y;
mc2X=mc2._x;
mc2Y=mc2._y;
mc3X=mc3._x;
mc3Y=mc3._y;
on MC1
on (press){
//fall
_root.mc2._x=_root.mc2X;
_root.mc2._y=_root.mc2Y;
_root.mc3._x=_root.mc3X;
_root.mc3._y=_root.mc3Y;
}
on MC2
on (press){
//fall
_root.mc1._x=_root.mc1X;
_root.mc1._y=_root.mc1Y;
_root.mc3._x=_root.mc3X;
_root.mc3._y=_root.mc3Y;
}
on MC3
on (press){
//fall
_root.mc1._x=_root.mc1X;
_root.mc1._y=_root.mc1Y;
_root.mc2._x=_root.mc2X;
_root.mc2._y=_root.mc2Y;
}
james182
October 12th, 2005, 03:52 AM
doesn't work
nathan99
October 12th, 2005, 04:22 AM
make sure u have the instance names right
james182
October 12th, 2005, 04:30 AM
instance names are mc1,mc2,mc3
nathan99
October 12th, 2005, 04:54 AM
fla file?
james182
October 12th, 2005, 07:38 AM
Here is the fla
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.