Moving MCs

Although this is so basic, I need some sum recollection refreshing on moving an MC across the stage. In fact, I really need sum codez to store in my actionscript archive in the event that my memory gets suddenly jaded, as it does sometimes.

Thus, for example, I want my MC to move from right to left and loop continiously? …something like Kirupa’s footer on the bottom of this page? How would I set up the variables and the actions for that?

Flamboyant Flasher…

You can use Actionscript or tweens for that.
If you use tweens, which I don’t recommend, just make your tween go from out right to out left, and don’t put any stop () action so that it loops.
If you use Actionscript, well, just play with the _x properties… I don’t want to do it for you. Brainstorm a little bit and post back if you can’t get it to work.

pom 0]

assuming that the contents of the _root timeline take up exactly the width of the stage in the publishing environment:
a movie’s object actions:
} else {

where ‘nSpeed’ is a variable that represents the number of pixels you would like the clip to move each frame.

Hey Jeremy,
Thanks for ruining my educational project :frowning:

pom 0]