Показать сообщение отдельно
Старый 26.08.2011, 19:55
Mideon вне форума Посмотреть профиль Отправить личное сообщение для Mideon Найти все сообщения от Mideon
  № 1  
Ответить с цитированием
Mideon

Регистрация: Aug 2007
Сообщений: 54
По умолчанию Не могу подключить FlashPreloadProfiler

Здраствуйте не могу подключить FlashPreloadProfiler. На сайте указано
Цитата:
FlashPreloadProfiler was created with a mm.cfg integration (See the installation section above).
But!, If you had trouble with the mm.cfg file.. You (like many others) were not able to use the profiler…
There is now a SWC in the download section that you can include in your project.
The only thing you have to do is
1 this.stage.addChild(new FlashPreloadProfiler());

That’s it!
т.е. примерно следующее если есть проблемы с mm.cfg файлом. Добавьте SWC в ваш проект и добавить
Код AS3:
this.stage.addChild(new FlashPreloadProfiler());
Панелька появляется но кликаю по кнопкам на этой панельке, ничего не появляется в отличии от того что показывается в видео.

Добавлено через 3 часа 59 минут
Оказывается
Цитата:
That bug with not working buttons can be easily fixed by changing line 141 in FlashPreloadProfiler.as to:

var sprite:Sprite = new Sprite();
this.stage.addChild(sprite);
SetRoot(sprite);

The original line looks like that:

SetRoot(this.stage as Sprite);

Hope it helps!
Или вместо строчки
Код AS3:
this.stage.addChild(new FlashPreloadProfiler());
написать
Код AS3:
addChild(new FlashPreloadProfiler());
получаю такое сообщение
Цитата:
“Indirect profilier launch (waiting for main SWF to load)”
Но по крайней мере все работает.