![]() |
Fullscreen + Timer = SecurityError ?
Добрый день,
пытаюсь поменять displayState на fullscreen после небольшой задержки с помощью Timer, но срабатывает SecurityEvent #2152. Интересно, что если поменять displayState на fullscreen без Timer, то все работает отлично. Код AS3:
Fla'шка: http://dl.************/u/3307294/test...screenTest.fla Не пойму что делать, уже 3 часа убил на это. |
http://www.adobe.com/livedocs/flash/...l#displayState
Full-screen mode is initiated in response to a mouse click or key press by the user; the movie cannot change Stage.displayState without user input. While Flash Player is in full-screen mode, all keyboard input is disabled (except keyboard shortcuts that take the user out of full-screen mode). A Flash Player dialog box appears over the movie when users enter full-screen mode to inform the users they are in full-screen mode and that they can press the Escape key to end full-screen mode. |
проще говоря, создайте кнопку и нажмите ее через диспатчинг, через нужное время …*например так
Код AS3:
|
| Часовой пояс GMT +4, время: 08:15. |
Copyright © 1999-2008 Flasher.ru. All rights reserved.
Работает на vBulletin®. Copyright ©2000 - 2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Администрация сайта не несёт ответственности за любую предоставленную посетителями информацию. Подробнее см. Правила.