Показать сообщение отдельно
Старый 21.05.2004, 14:57
Nox Noctis вне форума Посмотреть профиль Отправить личное сообщение для Nox Noctis Посетить домашнюю страницу Nox Noctis Найти все сообщения от Nox Noctis
  № 15  
Nox Noctis
don't panic!
 
Аватар для Nox Noctis

Регистрация: Aug 2001
Сообщений: 4,121
ах да. и еще. прочитал наконец код :))

не особо в тему, но
Код:
Button.prototype.addProperty("onRollOut", function () {
	trace("onRollOut of "+this+" called");
}, function (f) {
	if (typeof (f) == "function") {
		this.myOnRollOut = f;
	}
});
Button.prototype.addProperty("onRollOver", function () {
	trace("onRollOver of "+this+" called");
}, function (f) {
	trace("onRollOut of "+this+" called");
});
// 'btn' -- some button
trace(btn.onRollOver+" : "+typeof btn.onRollOver);
trace(btn.onRollOut+" : "+typeof btn.onRollOut);
//
sergwizard, тебя здесь ничего не смущает? :))

и к тому же можно мувиклипу задать кнопочные события...