Tutorial:
1. Make a ball or 'hero'.
2. Make it a movieclip (right-click, convert to symbol | movieclip)
3.in the actionscript (right-click, actions) enter this (learning code) and change the code in the way your supposed to:
onClipEvent(enterFrame){
if(Key.isDown(Key.RIGHT)){
this._x+=12
}
if(Key.isDown(Key.LEFT)){
this._x-=12
}
}
Link to this comment:
All Comments (0)