StageDisplayState.FULL_SCREEN_INTERACTIVE
I'm seeing a lot of examples around the web that use ActionScript Code: stage.displayState = StageDisplayState.FULL_SCREEN_INTERACTIVE to set an AIR application to full screen mode, with interactivity.One such example from Adobe is here:http://livedocs.adobe.com/air/1/deva...Windows_6.htmlIt is also included in the AS3 API docs:http://livedocs.adobe.com/flash/9.0/...EN_INTERACTIVEHowever, the static value "FULL_SCREEN_INTERACTIVE" does not actually seem to exist within the Flex/AIR SDK. In both FDT and the Flash IDE, a value of "FULL_SCREEN" is recognised, but "FULL_SCREEN_INTERACTIVE" is not a declared property of StageDisplayState.Can anyone shed any light on this? I'm starting to feel like it may have been dropped from the API, or possibly simply replaced with "FULL_SCREEN", but if that is the case, Adobe's documentation certainly needs to be updated.
KirupaForum > Flash > ActionScript 3.0
Posted on: 03-26-2008, 08:18 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
StageDisplayState.FULL_SCREEN;
Really strange bug here...
Code:
stage.displayState = StageDisplayState.FULL_SCREEN;
Causes my flash to not function in a browser. The movie works fine in the Flash IDE and flash player, but not in any browser.
At first I thought it was to do with SWFobject, but I have passed the param to allow fullscreen.
Any ideas? I am sure it's something simple
StageDisplayState.FULL_SCREEN IE Problem
I can't get StageDisplayState.FULL_SCREEN to work in IE, works fine in FireFox,
i get :FULLSCREEN ERROR SecurityError: Error #2152: Full screen mode is not allowed.
Using FP: 9,0,124,0
Embedded using SWFObject:
...
go.addParam("allowFullScreen", "true");
go.addParam("quality", "high");
go.addParam("menu", "false");
go.addParam("scale", "noscale");
go.addParam("allowscriptaccess","true");
...
any ideas/help much appreciated?
StageDisplayState Fullscreen Works.. Loaded Swf's Don't
Can anyone help me with this problem? I have a movie that I make fullscreen with a button. There are loaded components in this movie, the most important being other .swf's. The problem is when I click the button the stage goes full screen just fine, everything else stays where it is at.
I have the following code to make full screen:
Code:
var fullScreen:MovieClip = _root.attachMovie("fullscreen1", "fullScreen", 20015, {_x:75, _y:200});
fullScreen.onRelease = function() {
trace("I am being pressed");
if(Stage.displayState == "fullScreen"){
Stage.displayState = "normal";
}
else{
Stage.displayState = "fullScreen"
}
}
the first line brings my fullScreen toggle button on stage, the rest tells the movie to go full screen on press, or revert from full screen. This all works fine, but like I said the loaded movies in this one stay the same size.
How can I get the other components and swf's to go full screen as well?
StageDisplayState.FULL_SCREEN Wont Work
Hi I am having trouble with StageDisplayState.FULL_SCREEN,
i have a custom FLV player i have build and i am trying to set the swf to full screen.
i only get this error, ERROR SecurityError: Error #2152: Full screen mode is not allowed.
which suggests allowFullScreen = false;
But i am using SWFObject to embed the swf and my allowFullScreen = true.
addParam("allowFullScreen", "true");
my full screen code is
HTML Code:
/**
* set full screen
* @param b : Boolean
*/
private function _setFullScreen(b:Boolean):void
{
if(b)
{
try
{
stage.displayState = StageDisplayState.FULL_SCREEN;
}
catch(err:Error)
{
trace("FULLSCREEN ERROR " + err);
}
}
else stage.displayState = StageDisplayState.NORMAL;
}
|