X = -65536; ...загрузон... onEnterFrame = function() { if (X != -65536) { onEnterFrame = null; Y = X; trace("Вам пасылачка от JS!"); } }