
27.03.2004, 18:50
|
|
блогер
Регистрация: Mar 2003
Адрес: Моск. обл.
Сообщений: 5,269
|
если только не пускать, то на ostatki
onClipEvent (enterFrame) {
with (_root.man) {
if (this.hitTest(getBounds(_root).xMax, _y, true)) {_root.ground._x += 4;}
if (this.hitTest(getBounds(_root).xMin, _y, true)) {_root.ground._x -= 4;}
if (this.hitTest(_x, getBounds(_root).yMax, true)) {_root.ground._y += 4;}
if (this.hitTest(_x, getBounds(_root).yMin, true)) {_root.ground._y -= 4;}
}
}
если чего другое то здесь же посмотреть - чего надо
|