Форум Flasher.ru

Форум Flasher.ru (http://www.flasher.ru/forum/index.php)
-   ActionScript 3.0 (http://www.flasher.ru/forum/forumdisplay.php?f=83)
-   -   Не могу подключить FlashPreloadProfiler (http://www.flasher.ru/forum/showthread.php?t=165791)

Mideon 26.08.2011 19:55

Не могу подключить 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)”
Но по крайней мере все работает.


Часовой пояс GMT +4, время: 13:27.

Copyright © 1999-2008 Flasher.ru. All rights reserved.
Работает на vBulletin®. Copyright ©2000 - 2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Администрация сайта не несёт ответственности за любую предоставленную посетителями информацию. Подробнее см. Правила.