Actionscript 3 :: StageDisplayState.FULLSCREEN Vs StageDisplayState.FULLSCREEN_INTERACTIVE
Nov 14, 2010What's the difference between the the two display states?
View 2 RepliesWhat's the difference between the the two display states?
View 2 RepliesI'm working with StageDisplayState for the first time. I was wondering if there's any security reasons for not being able to trigger a FULL_SCREEN state.In this simple class I wrote when viewed in a browser (firefox - mac), the timer event FULL_SCREEN doesn't trigger, the mouse event on the other hand does.
package {
import flash.display.StageDisplayState;
import flash.display.Sprite;
[code].....
I keep gettting the above error when setting my StageDisplayState to full screen. I can't seem to figure out why. All the locations in my index.html to allow full screen are set to full (at least that i can find in the index.template.html file) e.g.
<param name="allowFullScreen" value="true" />
From what I have read, it seems I should be able to fix it with
Security.allowDomain();
However not sure what to inject into the allowDomain() method as it is a local file. This also make me think, I should not need this.
I have a projector file in CS4 AS3.I used this code to go full screen.Quote:stage.displayState=StageDisplayState.FULL_SCREEN;Now in CS5 the same code appears to disable my keyboard. I have no keyboard input unless I leave fullscreen. This wasn't an issue for me in CS4.
View 1 RepliesThere is a parent Flex application that allows you to embed custom tools in it (SWF files).
I have inspected the HTML wrapper for the parent and it uses SWFObject, and has full screen permitted:
<param name="allowFullScreen" value="true" />
<param name="allowFullScreen" value="true" />
I am trying to put together a tool that simply takes the parent application to & from full screen mode.
Here is a simplified version of the code. I have tried several variations, but still had no luck.
public function toogleScreen():void
{
// this is fired from a function within the child swf
[Code].....
There are lot of posts with regards to Security problems when trying to use draw("file"); method on external file, however I've got this problem trying to use draw(stage) in FullScreen Mode.Is this a case that using draw() on stage in FullScreen mode is impossible?Is there any workaround to do that?
Code:
package {
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.display.MovieClip;
[Code]...
i am creating an interactive application that will run independantly on a computer.I have implimented the full screen stage display state to a btn, and it works great!
-------code-----
import flash.display.StageDisplayState;
function goFullScreen():void
{
[code].....
however as soon as i add a video [i will be adding several] the video takes on the full screen property, and that is not the desired effect.I have used several diff ways to import the video but as soon as i call the full screen, it goes to an all black screen.
I like to make a fullscreen desktop application, with an FLV, using the FLV Playback component. However, I�d like there to be a Fullscreen button on the playback component, which will allow the user to toggle the video fullscreen.I cant, for the life of me, figure out how to do this with various settings�it should be easy! This is what I have--is there a better way to do things (without a custom movie player)? My inital settings are as follows:
Code:
stage.displayState = StageDisplayState.FULL_SCREEN;
theMovie.fullScreenTakeOver = false;
Then I have a function which should work--but my button won't appear in fullscreen--Can I apply this function to the built-in fullscreen button?:
Code:
function handleClick(event:MouseEvent):void
{
if ( !theMovie.fullScreenTakeOver )[code]....
I need a fullscreen scroll bar on my fullscreen flash site , i need it to function similar to this URL...
View 1 RepliesI have a swf inside a html page. If I open it with IE or FF and put it into full screen I can exit full screen with the ESC button.Now if i try this with my WinForms app and WebBrowser (or ShockWave Flash Object) it's not working??
View 3 RepliesWhat I've done is created a "fullscreen SWF" by using ActionScript to stretch a movie clip (yellow rectangle) in the background to fill the whole browser frame. The navigation is positioned in the upper left using ActionScript also; when the user resizes the window, positions are adjusted so the nav always stays in the upper left. (Adapting the technique from http:[url]....
External SWFs are loaded from an XML file into a blank movie clip on a layer that is between the yellow background and the navigation (adapting the kirupa XML Photo Gallery). Here's my problem: I want to be able to create full screen backgrounds for these external SWFs so when they are loaded into the main SWF they cover up all the of yellow background of the main clip. Also if the user resizes the window, I hope like the main SWF, the background on the external SWF can also resize to match.
If you press next twice to get to item three for example, I want to be able to stretch that orange box to fill the entire background. You'll notice if you resize the window on the third item, the orangle rectangle will adjust, it's just not correct.
I'm hoping someone can help me with an issue I'm having.
I currently have an AIR Application that runs fullscreen.
At some point in the application, I am trying to get a video to play fullscreen as well.
[Code]...
I'm making a flash site, and i want it to load full browser with a "fullscreen"-button to go fullscreen. The problem, however, if i resize, the site will keep the same width-to-height ratio...But if i'm testing it using the flash debugger, everything resizes just correct...My html:
HTML Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">[code]......
i have my photo gallery and if you push a button photo has to open in new window with fullscreen.
for fullscreen i use Stage.displayState = "fullScreen";
I know this is a simple problem but I've been searching for tutorials for hrs and everyone I find is incompatible for CS4 flash and DreamWeaver so all I require is some help with making my flash movie occupy the whole screen when displayed in my browser. If actionscript is required I am using AS2.
View 7 RepliesI have an FLVPlayback component in an video.swf, and it has a fullscreen button. video.swf is being loaded by another main.swf. when the fullscreen button is clicked, it goes into full screen. But, the FLVPlayback scales too big and even the overlaying controls are out of the screen.
View 9 RepliesIm creating a sort of a picture album, i would like the users to be able to click for full screen display! How do I achieve this??? pics. are most probably jpgs.
View 4 RepliesI have read several posts where people discuss TOPMOST and SWF Studio as options for keeping applications running in the top of the z order.
My question is: Is there a way to create a projector that always stays on top (e.g. even if a windows update occurs) without purchasing SWF Studio? As I understand TOPMOST is only for launched applications, not for the application itself.
I'm trying to put two .flv videos on the same .swf page, BUT only one will go full screen no matter which video skin button to go fullscreen I press, and all the rest of the buttons on the skin work for the appropriate video. I recall in Actionscript 2.0, in the video component you could change the field name in the schema to play multiple videos in a .swf file with the same skin, wondered if AS3 had similar setting.
View 1 RepliesI want to automatically disable the ability for people to switch to FullScreen when watching my Flash animation. The animation will be downloaded by people and viewed in FlashPlayer rather than in a web browser, if that makes a difference.Here is the Code I have tried so far:
Code:
stage.addEventListener(Event.ENTER_FRAME, DisableFS);
function DisableFS(event:Event):void {
[code]....
I'm no professional flash designer but I've got a partially built site at url... and I've used a piece of generic javascript to make the background scaleable, but it doesn't seem to be the most appropriate thing to be doing as it doesn't detect any scaling of the browser while the preloader is running,(eg. if you resize the browser while its loading it wont have resized the background once its loaded), could anyone direct me to a script or tutorial in AS3 that would resize even if adjusted while the preloader is running? I've found a couple in AS2 but i'm not quite smart enough to make it in AS3 myself yet.
View 9 RepliesBut my proublem is that I have a flash presentation.The defalt for moving the slide screens back and forth are left and right arrows.It works fine when tested or even the .swf fileBut then the left and right buttons don't respond when I go to fullscreen.
View 5 RepliesFlash freezes when in fullscreen, youtube or any other site. Disabling hardware acceleration works but significantly lowers the playback quality. I'm running XP SP3 and WIndows 7, same problem with both OSs, in IE, Firefox, Opera, and Google chrome, so it's definitly the adobe flash player that's causing the problem. Tried unninstaling adobe flash player and adobe activeX completely, than downloaded latest versions and installed them. Then I tried unninstaling them, unninstalling all the browsers, restarting, then installing the browsers and then the latest flash player.
View 7 RepliesI had an old version of air which loaded an swf that runs an as2 swf using as3 The as2 swf included keypressing and regular as2 stuff. I just installed the new version of air and exported the AIR file again Keypresses don't seem to workhow to fix this?I thought about exporting to an older version of air but I have no idea how since the only option I have in CS5 is 2.0
View 1 RepliesI have programmed a little screensaver for trade event monitors to display throughou t the program.
I will be outputting this as a stand alone flash application, so am not worried about browsers etc. Essentially, all I need is when you click the application, it goes fullscreen automatically
I have a swf file that doesn't have any fullscreen button although it's prepared for fullscreen anyway.
Now I'd like to have some kind of button beside/under or elsewhere in the html that can activate the fullscreen mode for the swf.
If it's possible to do this with a regular image, AS3 and html instead of creating a flash movie, that would be nice (see, that was probably a stupid qestion) as I have tried and tested half a dozen flash tutorials to no avail.
Oh, and IF the only way to do it is to create a button in flash, it need to be transparent.....
Is there any way to debug fullscreen mode? I Ctrl+enter and I see the swf but the fullscreen button never works, like when I forgot the allowFullScreen param in my HTML code.Do I have to add some parameter to the CS5 properties?
View 1 Replieshow to make your website fill the entire screen in ActionScript?
View 1 RepliesI'm developing a website in flash which have the option to be displayed in fullscreen, but the website has a video player inside which has the same functinoality. When I change the web to fullscreen mode the video is displayed instead of the main web. I have figured out that the instruction is also the same, so how can I decide which component should be displayed in fullscreen ? The video or the main web depending on the situation
View 1 RepliesFlv fullscreen not working in div,Here is the code i m using :-
Stage["displayState"] = "normal";
F = 1;
fulscreen_btn.onPress = function() {
[code]....
but its not working,