
06.10.2007, 01:57
|
|
Регистрация: Jul 2007
Сообщений: 9
|
Втавил вот этот код. так он мне сейчас выдает ошибку. Текст сообщения о ошибке в самом низу. что мн делать?
Mouse._doubleClickSpeed = 300;
Mouse.addListener(Mouse);
Mouse.onMouseDown = function() {
if (getTimer()-this.lastClick<this._doubleClickSpeed) {
this.broadcastMessage("onDoubleClick");
}
this.lastClick = getTimer();
};
ASSetPropFlags(Mouse, null, 3, 1);
ОШИБКА.
**Error** C:\Documents and Settings\rebel\Рабочий стол\cube3D\Pic3dCube.as: Line 49: The property being referenced does not have the static attribute.
Mouse.onMouseDown = function() {
Total ActionScript Errors: 1 Reported Errors: 1
|