PDA

Просмотр полной версии : не работает full screen


Alex Pusher
31.01.2009, 17:19
Помогите разобраться, почему не срабатывает full screen..

http://alexpusher.com/error.html

Во флешке: on (press){
fscommand ("fullscreen",true);
}

Kuruki
31.01.2009, 17:35
В браузерах фуллскрин делается по-другому 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 );

Kuruki
31.01.2009, 18:44
on (press){
Stage["displayState"] = "fullScreen";
}