Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- _root["persegi"].posX = _root["persegi"]._x;
- _root["persegi"].kecepatan = 10;
- _root["persegi"].onEnterFrame = function(){
- this._x -= this.kecepatan;
- if (this._x<100) {
- this._x = this.posX;
- this.kecepatan = 10;
- };
- }
Advertisement
Add Comment
Please, Sign In to add comment