getting a movieclip to move back and forth across screen

Hello everybody,

so I consulted the manual about this, which I believe said something along the lines of using positional functions already created, however I couldn't really understand what the manual was saying, at least for my own purposes.

I'm just trying to get a movieclip to walk back and forth across the screen until he is picked up.


is this possible? I mean I tried the old as3 way with assigning the mC.x += 20, but something tells me I can't do that so easily in this case.

could someone please point me in the right direction? I don't need a snippet of code, just a nudge to the right function or and explanation of the ones involving changing position in the Wiki.

Thanks

-Jack.

P.S. is there something similar to the jointDef's collideConnected that pertains to cirlceDefs or PolygonDefs? I ask because I'd like some movieclip objects to pass between each other. I looked at the bullet function in the wiki, but I'm thinking this is the opposite of what I want.
http://www.box2dflash.org/docs/2.0.2/ma ... d_Velocity
use "SetLinearVelocity(v:b2Vec2):void" to move your b2body back and forth

http://www.box2dflash.org/docs/2.0.2/manual#Filtering
use filter to disable collisions between certain b2body objects

Original thread: https://box2d.org/forum/viewtopic.php?t=4793