ActionScript 3.0 :: Go To Fullscreen Immediately Upon Opening - Scale Assume
Dec 9, 2009
I am working on a presentation deck with a resolution of 2880 x 1571. I am in need of some help on two fronts for the final result. First off, I need it to go to fullscreen immediately upon opening. I am not sure if we will be using this through a browser, or stand alone flash player, but I am not having much luck getting the fullscreen functionality to work.
Also, do to the high resolution, "if" I go fullscreen, will it scale to fullscreen? Or is there a way to do this? Those things being said, I tried a full screen script, however, I lost some functionality on two swfs that I load from external files within the deck is this normal? Or something I am missing.
View 1 Replies
Similar Posts:
Aug 24, 2009
I have a curious problem with fullscreen mode in a [beta] game I designed and coded. When I launch the SWF, it works perfectly. Once I embed it in html however, it only flickers into fullscreen for a second and then back out again. It doesn't seem to be a browser issue as it happens in both Firefox and IE7 on my Vista machine.
The game is here:
Spectacle
Fullscreen is toggled by hitting the "F" key.how to get it to stop flickering?
View 3 Replies
Jan 31, 2012
I created an Air desktop app with Flash CS 5. Usually Windows (XP) is opening an application (like Firefox) with the latest set size and position. For my installed Air app it's always just the default one. How to start it with the latest used size and position?
View 3 Replies
Mar 10, 2010
Fullscreen mode and I have been battling for a while in this Flex application, and I'm coming up short on Google results to end my woes. I have no problem going into fullscreen mode by doing a Application.application.stage.displayState = StageDisplayState.FULL_SCREEN;, but the rest of the content just sits there in the top, left corner at it's original size.
All right, says I, I'll just do a stage.scaleMode = StageScaleMode.SHOW_ALL and make it figure out how to pull this off. And it looks like it does. Except that when you mouse over the individual checkboxes and buttons and various components, they all fidget slightly. Just a slight jump up or down as they resize...on mouse over. Well, this is frustrating, but bearable. I can always just invoke invalidateSize() explicitly for all of them.
But for the comboboxes. The ones at the bottom have their menus go off the bottom of the screen, and when I pop out of fullscreen mode, their drop downs cut off half way. I have no idea how to fix that. Can someone step in here, and put me out of my misery?
What is the right way to scale a Flex application up to fullscreen?[code]...
View 2 Replies
Aug 16, 2011
I'm working in CS5, using AS2 on a Mac.I've built a presentation that requires the need to open pdf files in Acrobat Reader... as I have been building this on a Mac I simply used the geturl code which has been working a treat... today when I tested it on a PC it opened the file in a browser window!
I'm not really a coder and have to rely on finding bits online that I can tweak... after many hours I have fixed the pdf opening problem by using the fscommand method, but unfortunately when the pdf file is closed, my presentation (that was running fullscreen) has minimised itself to a window 100% to the original stage size!
View 2 Replies
Aug 16, 2011
I've built a presentation that requires the need to open pdf files in Acrobat Reader... as I have been building this on a Mac I simply used the geturl code which has been working a treat... today when I tested it on a PC it opened the file in a browser window!
I'm not really a coder and have to rely on finding bits online that I can tweak... after many hours I have fixed the pdf opening problem by using the fscommand method, but unfortunately when the pdf file is closed, my presentation (that was running fullscreen) has minimised itself to a window 100% to the original stage size!
View 2 Replies
Oct 7, 2010
Is it possible to make a flash player go full screen (not in browser)? Would there be any bug / error on different version of Flash player?
View 3 Replies
Jul 1, 2009
I'm not using flvplayback. I'm using a simple video player that has a pause button on top of it. I want the pause button to just look exactly the same. I've got a ton of other elements on the site, but I just want the video to go fullscreen and the pausebutton to stay the same size...
View 2 Replies
Mar 6, 2007
I pretty much got it working. The only problem I'm having is that it's only full screen based off of the width. I want the picture to maintain it's scale, so I need it to fill the height if necessary and cut the sides off of the picture. You can see what I mean by clicking [URl]. Resize the browser so it's a lot taller than it is wide and you'll see what I mean. I want it to fit both height and width no matter which is taller. I've played around with it all morning and nothing.
Code:
// pic_mc is the movieclip that I used to load my full-screen background image.
function bgResize() {
pic_mc._width = Stage.width;
pic_mc._yscale = pic_mc._xscale;
if (pic_mc.height >= _yscale) {
pic_mc._x = (Stage.width)/2;
pic_mc._y = (Stage.height)/2;
[Code] ......
View 3 Replies
Jun 10, 2011
How does flash scale for fullscreen?For example, if I draw a shape and give it a width and height of 100px (square)...does that scale up proportionally when the flash is made full screen? Or does that object stay 100px x 100px?
View 2 Replies
Sep 3, 2004
I'm trying to use a variable and make it assume a different value acording to the option selected on the combobox and it's been hell for me.
Supose I have a variable named "favouritesport"... I would like to have a combobox with 3 items (baseball, football, basketball). As you choose one of the sports the variable should change.
Ex. If someone chose baseball than it woul make favouritesport=baseball
View 1 Replies
Feb 23, 2009
Does anyone know how to:stop a movieclip on mouse click, make the movieclip wait for, say, 3 seconds and then assume playing again from the same frame that it stopped on
(The movieclip is an instance on the main stage, the actual footage is placed in a seperate mc)
Im using Flash 8 (gave up on 10 as I realised I would have to post questions here on how to make a simple button )
View 1 Replies
Oct 17, 2008
I used to make fullscreen Flash websites, using 100x100 width/height and "No Scale" on Publish Settings.Everything is ok on a browser, since I can position elements using relative coordinates for liquid layouts.Now I have to make a fullscreen standalone .exe projector.To get fullscreen I use fscommand("fullscreen", "true") on the first frame and it works.
The problem is:If I create a 1024x768 Flash movie, even with 100x100 and "No Scale" activated, the movie remains at 1024x768.So, if I trace stage.stageWidth and stage.stageHeight, those remain respectively at "1024" and "768", but I need for the movie to get the max width and max height available on the system.
In the browser it happens automatically, but in the Flash projector it doesn't. how can I get the movie to match the exact size of the screen where it runs?I've tried with Capabilities.screenResolutionX and Y but there is no way (and I think it's normal) to set the stage.width and stage.height properties on runtime.
View 3 Replies
Mar 8, 2007
Scenario: main moveiclip with 4 other clips in it. I want the rolledover clip to scale up and all the others to scale down and blur.
Question: What is the most effiecent way to code this. Would it be a "for in loop"? I am trying to minimize the code and would rather not use a whole bunch of if then statements.
View 3 Replies
Feb 19, 2010
I want my flash content to scale when I scale my browser window.
View 5 Replies
Apr 13, 2009
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]....
View 9 Replies
Jan 14, 2006
How can I convert the current scale of the instance to 100% so I can easily "visualize" and manage the instance when I modify its scale? Here's the actionscript, it works, but I just want the temp._xscale and temp._yscale to be in percentages, not real numbers.
Code:
USflag.onMouseDown = function ()
{
var temp = USflag;
onEnterFrame = function ()
[code]....
One last thing, what's the tag you have to put that is designed for boxing actionscripts? I'm suing [ code ][ /code ]
View 1 Replies
Apr 19, 2009
I need a fullscreen scroll bar on my fullscreen flash site , i need it to function similar to this URL...
View 1 Replies
Jul 14, 2010
I 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 Replies
Oct 19, 2006
What 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.
View 2 Replies
Jul 19, 2010
I'm having a problem similar to [url]...
Basically, bmpd.draw and/or png.encode are dog slow, so I'd like to have a nice "please hold while we prepare your png" dialog to appear. I can't use callLater() because of the FileReference.
And just for good measure, the loading screen appears at the same time the save dialog appears from the call to fr.save().
View 1 Replies
Dec 4, 2009
My Flash image will not scale.if you zoom in, it gets chopped up. if you zoom out, it has a big blank area.What should I change in order to have this Flash image scale just like the rest of the site? [URL]It is the Flash in the center.
View 1 Replies
Mar 18, 2010
Everytime I start Flash on Acer Laptop Windows XP SP3 it shuts down. It used to run smoothly before. It only happens since I updatet Flash Player.Do you have any idea what's wrong?
View 7 Replies
Sep 11, 2009
In an AIR application I have the following code:
theDialog = PopUpManager.createPopUp( this, TheDialogClass, true ) as TheDialogClass;
theDialog.addEventListener(FlexEvent.CREATION_COMPLETE, cpuIntensiveCalc);
At the end of cpuIntensiveCalc the dialog is removed. The dialog informs the user that "something is going on, please stand by."
The problem is that cpuIntensiveCalc starts before the dialog draws. So the user experience is that the application freezes for 10 seconds with no indicator, then the modal dialog flashes quickly (less than a second) on screen.
The Adobe docs say this about creation_complete
Dispatched when the component has finished its construction, property processing, measuring, layout, and drawing.
So this feels like the correct event. In the name of completeness, I also tried
theDialog = PopUpManager.createPopUp( this, TheDialogClass, true ) as TheDialogClass;
cpuIntensiveCalc();
View 3 Replies
Apr 29, 2011
I need to make a function that execute a java method and return his result. It is static becouse a lot of other functions will call this function. So I did this:
public static function FKDescription(dest:String):String{
var jRemote:RemoteObject = new RemoteObject();
var s:String;
[Code].....
But the function returns null, because the valresult() was not been called at the end of main function. What shoud I do to make FKDescription() return the string that came from remoteobject?
View 2 Replies
Aug 17, 2011
When I add a DisplayObject to a DisplayObjectContainer (e.g. a Sprite to a Sprite) in a function, it seems that the DisplayObject is actually added not immediately, but after finishing the function.[code]...
View 4 Replies
Jun 16, 2010
I've setup a very simple FLA, if you wanna see what I'm talking about:ample.zipIf you fire the swf and you click the red thing (button), you will go to frame 2. If you click it again, you will go to frame 1.Both frames contain a green mc with a "this.visible=false" action, so you shouldn't see it the first time.Now click fast the red button. You will see the green mc from time to time.So, seems the flash movie is executing "clicks" every ENTER_FRAME (not immediately when you click the button). The sample mc I attach has a framerate of 1fps, so you can see easily the behaviour, but it's the same with 30fps.
And the same for the green mc. The "this.visible=false" line is not executing immediately when the main timeline reaches the related frame.In the second frame, the green mc is contained inside a red mc. If you break appart this red mc, all will work as it should and you will never see the green mc (the FLA file is attached as well, so you can test).
View 0 Replies
Jul 4, 2010
Since I jumped onto AS3, there are lots of things I'm missing, so I'm now coding in super-safe mode. Ie, in order to place a new mc at z-index 1:
[Code]...
View 3 Replies
Nov 15, 2009
since my Timer runs every 5 seconds I have to initially execute the function normally. This creates a problem though since if the user has the mouse over the stage, it stops the timer.It cannot do this because it takes 5 seconds before the Timer first runs the function
View 2 Replies
Sep 24, 2004
[URL].. i am following these tuts but evrything is working fine but what i want is that my music should start playing immediately as it is loaded rather then waiting to click button to play...
[Code]...
View 2 Replies