-in the "lvl1" frame, on a new layer called "dude" create a circle for your dude....(other tutes have better ways to make him move....but this will suffice!)
-use F8 to make him into a movie clip and call his instance "dude"
- give him this action script...
-This makes him move at a speed of 7....change the moveSpeed to make him faster or slower
-now this is where our friends the the walls come in...give "dude" these actions after the last script:
Now your character will bounce off the walls...literally (WARNING! whatever you do... dont make your charecters speed higher than 10! unless you keep the amount you bounce higher than the characters speed, he will go through the borders otherwise)
(try it out, your dude should be able to walk around and not go through the borders)
We hope the information helped you. If you have any questions
or comments, please don't hesitate to post them on the
Forums section Submit your Tutorial at Click Here