Animation with actionscript
i have cloud images trying move across stage @ constant speed on x axis. want cloud movie load right side of stage , start over, moving right left repeatedly. old code in actionscript 2.0:
onenterframe = function() {
cloud1_mc._x -= 1;
if (cloud1_mc._x + cloud1_mc._width / 2 < left)
{
cloud1_mc._x = 875;
cloud1_mc._y = 30;
}
};
does have idea of how in actionscript 3.0?
thanks!
here's clues... first check out following posting...
http://forums.adobe.com/thread/714911?tstart=0
then, realize as3 not use underscores common object properties... such _x becomes x
More discussions in ActionScript 3
adobe
Comments
Post a Comment