Просмотр полной версии : не работает full screen
Alex Pusher
31.01.2009, 17:19
Помогите разобраться, почему не срабатывает full screen..
http://alexpusher.com/error.html
Во флешке: on (press){
fscommand ("fullscreen",true);
}
В браузерах фуллскрин делается по-другому http://www.adobe.com/devnet/flashplayer/articles/full_screen_mode.html
Alex Pusher
31.01.2009, 17:57
Так разобрался с примером, кроме одной штуки.
Мне нужно что бы full screen активировался по нажатию на мою кнопку, а там только из контекстного меню флешки =((
var fs:ContextMenuItem = new ContextMenuItem("Go Full Screen", goFullScreen);
fullscreenCM.customItems.push( fs );
var xfs:ContextMenuItem = new ContextMenuItem("Exit Full Screen", exitFullScreen);
fullscreenCM.customItems.push( xfs );
on (press){
Stage["displayState"] = "fullScreen";
}
Работает на vBulletin ® версия 3.7.3. Copyright ©2000-2026, Jelsoft Enterprises Ltd. Перевод: zCarot
Copyright © 1999-2008 Flasher.ru. All rights reserved.