Character Code: Mr. Snowman! onClipEvent (load) { moveSpeed = 10; } onClipEvent (enterFrame) { if (Key.isDown(Key.RIGHT)) { this._x += moveSpeed; } else if (Key.isDown(Key.UP)) { this._y -= 0; } else if (Key.isDown(Key.DOWN) && !fall) { this._y += 0; } else if (Key.isDown(Key.LEFT)) { this._x -= moveSpeed; }} onClipEvent (enterFrame) { if (Key.isDown(Key.SPACE) && !jumping) { vel_y = 36; jumping = true; } if (jumping == true) { vel_y -= 2; if (vel_y<=-15) { vel_y = -15; } this._y -= vel_y; } if (_root.ground.hitTest(this._x, this._y+35, true)) { vel_y = 0; jumping = false; }} onClipEvent (enterFrame) { this._y += 16; if (_root.ground.hitTest(this._x, this._y+1, true)) { this._y -= 16; }} Time Line Code(for box) currentslotnum = 1; stop (); function addToslot (item) { if (!item.found) { item._x = eval("itemSlot"+currentslotnum)._x; item._y = eval("itemSlot"+currentslotnum)._y; item.found = true; currentslotnum++; }} Item Code onClipEvent (enterFrame) { if (_root.character.hitTest(this)) { _root.addToslot(this); }}