![]() |
|
||||||||||
|
|||||
|
Регистрация: May 2007
Сообщений: 116
|
Суть вопрса в коде :
function s_Buffer( id, x, y )
{
_root.attachMovie( id, id + _global._lowerLevel, _global._lowerLevel, {_x:x, _y:y} );
this._mc = _root[id + _global._lowerLevel];
}
s_Buffer.prototype.receiveChildMessage() = function( msg )
{
trace( msg );
}
var testBuffer = new s_Buffer( "test", 10, 10 );
Здесь родитель будет _root или testBeffer? И вообще правильно я понимаю суть _parent? |
![]() |
Часовой пояс GMT +4, время: 08:32. |
|
|
« Предыдущая тема | Следующая тема » |
|
|