IDE :: System - Capabilites ScreenresolutionX - Get The Size Of My Screen

Feb 21, 2009

I'm working within flash, and I'm just trying to get the size of my screen, apparently simply:

[Code]...

View 1 Replies


Similar Posts:


ActionScript 2.0 :: Dual Monitors And System.capabilities.ScreenResolutionX & Y?

Jun 29, 2010

i am currently developing a standalone video application that will interact with our backend database and display the proper video, video title, video description and color scheme that you choose.Everything's working hunky dory, until I asked some of cohorts to see if they could break it before I show it off to the world. On the very first try, when my colleague went to full screen, the video was distorted, cut off by the bounds of the monitor, and not perfectly centered as it has been performing on my monitor.

And then it hit me... He was opening the browser in one of his computer's monitors, bringing the browser to the other monitor (we all have a dual monitor thing going on here), and THEN clicking the full screen button.I noticed that when you refresh the page, the variables I get to determine the fullscreen dimensions are being set, but NOT on EnterFrame.

After quickly changing this little glitch, I saw that the variables are still not being changed when you drag your browser window from one monitor to the other (hopefully they are set at two different resolutions, otherwise it defeats the purpose of even checking for this)how I can get my Flash application to recognize when it has entered into a new resolution.

View 1 Replies

Flex :: Input - Flex On Touch Screen System: Web Sites In Flex Works On Touch Screen System?

Sep 22, 2010

I build a web site in flex that some time take input. Will this website works on Touch Screen environment(KIOSK).My question is we have to make any change to handle input such as prompt on screen keyboard when input fields are get focused or it will manage my device and OS of system(KIOSK, Touch screen system) itself.

View 2 Replies

ActionScript 3.0 :: Capabilites' Function To The OS?

Aug 9, 2011

I've been trying to work with the 'capabilites' function to the OS and here's my code:

ActionScript Code:import flash.system.Capabilities;AIR_ver_txt.text = "AIR Version: " + Capabilities.version;

[Code]...

I just want to get this instance "AIR_ver_txt" on a TextField to show the versions and other capabilites.What did i do wrong? And how can I fix it? should i just Re-Convert to Symbol (i had to do this 2 times now)

View 4 Replies

ActionScript 3.0 :: Auto-size Background / Swf - Flash Occupies Whole Screen No Matter What Size It Is

Apr 28, 2010

So ive been asked to build a page for a real state company and the guy told me it should be similar to these [URL] Ive been trying a couple of weeks so far, but i dont seem to find a way to do somthing similar, i mean, i want to have the welcome screen as those two:

- the gradient background
- flash occupies whole screen no matter what size it is
- gradient expands sideways infinately
- no matter what height my explorer window is, gradient is always in the same position relative to top, and if i keep expanding downwards the background keeps last colour of the gradient.
- the brand logo looks as if it had top, left and right anchors, and it also limitates the minimum width of the explorer window

i though of addind a 3000 x 3000px square with the gradient and centering it, but i know there has to be a professional way of achieving that.

View 1 Replies

Actionscript 3 :: Set An Application Size According To The Screen Size (for Mobile Devices)?

Oct 19, 2011

I am developing an AS3 application (not a Flex one) using Flash Builder 4.5. My application can set its graphical components automatically according to stageWidth/stageHeight. My problem is with the actual application size. If I do not specify width/height in the SWF meta tag, my application is compiled according to the default (550x400?). If I do specify (for example 800x480), I won't be able to support other resolutions correctly.

Is there a way to tell the compiler to see the application size according to the device's/stage's sizes?

View 1 Replies

ActionScript 2.0 :: Detect The Screen Size And Run The Game According The Screen Style?

Mar 6, 2008

Actaully I am running a cards game. While running the game in between if I change the style portrait to landscape. then how can I detect the screen size and run the game according the screen style (Portrait or Landscape).

Actaully I have written the code to detect the screen as portrait and landscape. But in between if I change the game portrait into landscape, no more it works.

View 2 Replies

ActionScript 2.0 :: Screen Size For Full Screen Flash?

Apr 24, 2006

I'm creating a flash site. I want the flash movie to fill the entire browser window. What size should I make the canvas, I've been experimenting with sizes and a canvas size of 750*370 fills my browser well on a resolution of 800*600

How do you accomodate different resolution settings? What's the most commonly used canvas size for this type of project.

View 2 Replies

ActionScript 2.0 :: ScreenResolutionX/Y Realtime Refresh Not Supported?

Oct 27, 2006

I have following issue: System.capabilities.screenResolutionX and System.capabilities.screenResolutionY doesnt seem to refresh realtime while the movie is playing and user changes the resolution of the desktop.Although this is somehow unprobable - that user will change resolution of the desktop while viewing websites - i would like to detect this user's action and resize the website content accordingly.

[Code]...

View 4 Replies

Actionscript 3 :: Determine System Icon Size With Flex, AIR?

Oct 22, 2010

Each system - whether it is win, mac, or linux - displays (desktop) icons at a
user selected size (e.g., 16x16, 32x32, 48x48, etc.)How can I find which size is being used by the local system from within Flex or ActionScript3?

View 1 Replies

Actionscript 3 :: AIR - Set Size Of NativeWindow To Include System Chrome?

Jan 19, 2012

How do you find out the size of the system chrome so that I can specify the window size to achieve the stage size I want?

If my main window is set at 800 x 600 (stage), and I create a second window as below, it will be smaller.

public function Main():void
{
var windowOptions:NativeWindowInitOptions = new NativeWindowInitOptions();
windowOptions.systemChrome = NativeWindowSystemChrome.STANDARD;

[Code].....

I assume you increase both newWindow.width = 800; and newWindow.height = 600;to account for the chrome, but how do you find this value?

View 1 Replies

ActionScript 3.0 :: Screen Fallowing Character And Scoring System

Aug 28, 2010

I'm new to flash and I cant find any tutorials on how to make the screen fallow a character when you come up to the left or right edge of the stage so the map will continue on a platform game and adding scoring system in action script 3

View 17 Replies

Flex :: Make Flex Fit The Users' Screen.. No Matter What Screen Size?

Jul 9, 2010

Making an Flex App. Just wondering if anyone has created something that fits automatically to the users' screen size and how I go about doing this? One of the principle things is that I need an background image, which is obviously going to have to scale / resize to match the users screen.

View 1 Replies

Size To Fit Screen

Feb 6, 2004

A friend of mine says that he cannot see the links at the bottom of my page but for me I can. Can you see the links? [URL]

View 3 Replies

Actionscript 3 :: Get The Screen Size In Air?

Nov 6, 2011

In AS3 code for Air, how can I get the screen width and height of the mobile device its running on?

View 2 Replies

ActionScript 3.0 :: Get Size Of Screen?

Jan 17, 2011

I currently have some code that displays an image in a pop up and just takes the width and height of the image. My problem is that some of the images are larger then my screen. How can I get the size of my screen and then readjust the width and height of the image based on that?

View 5 Replies

Javascript :: Size A .swf To Full Screen With .js

Sep 20, 2011

My application is built in Flash Builder. I want to embed a small Flash login form inside an HTML page. The login form is in the 'login' state of code and is a few hundred pizxels wide/ tall. The 'default' state is set to height and width of 100%. I have a resize function that is executed once the login receives the appropriate credentials.

private function resizeApplication():void {
if(ExternalInterface.available) {
ExternalInterface.call("resizeApplication");

[Code]....

#app is the div and overflow is set to auto in the body. This works just fine except that I am left with some visable portion of the webpage near the bottom. I want to be able to either resize the webpage to match the swf or hide everything except the swf. I have tried a few different things with the js including setting the bottom attribute to 0 and using variations of the document.body.clientHeight.

View 3 Replies

ActionScript 3.0 :: SWF That Resizes To Screen Size

Nov 10, 2009

I'm trying to make an swf that resizes to the browser's size at initialization and when the stage is resized... but it seems to initialize at the original stage width (which is 800 * 600) and then when the stage is resized, it works... the swf is currently nothing but an image that says the site is under construction... but I'd like to resize it to screen size... here are my AS 3.0 and HTML code...

[Code]...

View 5 Replies

IDE :: Matching Width To Screen Size?

Jun 2, 2009

I'm sure there are a million posts on this, but I cannot for the life of me figure out the wording under which they are classified.I am trying to get my site to scale so that the width is 100% the width of the screen, and the height, if there's more than can be viewed, is cut off. No scrolling. If I simply use the 100% width property, it seems to also give height at 100% value, so this way the whole site fits on the screen, but there is empty space on the right and left which is not what I want. Does this make sense how I've worded it?

View 5 Replies

Best Stage Size For A 1024 X 768 Screen Resolution?

May 21, 2009

I want to know which is the best stage size for a 1024 x 768 screen resolution.i see site for example in thefwa.com that are full screen in any resolution, but the need to set a stage size for their app.

View 3 Replies

Resize Swf File Depending On Screen Size?

Jun 26, 2010

I have a website with a large .swf file. However when people with smaller screens view the website, I would like the .swf (which takes up the entire screen) to resize to fit on exactly. Just like how on most flash sites when viewed they fit the screen perfectly, however also then when viewed on computers with smaller screens they resize and still fit perfectly again.

View 2 Replies

Flex :: Locate And Size Objects Relatively On The Screen?

Jan 7, 2011

I want users to be able to locate objects ,say rectangles, freely on the screen. Each Rectangle will have width, height, x, y.

I want that when users resize browser window, the rectangles change location and size relative to the window while maintaining proportion.

I noticed I could do something width="20%" height="20%" and then object will resize but if the aspect ration is diffenent the rectangles will look distorted. Also I wasn't sure what's the best way to locate object relatively as I noticed I couldn't bind Flexglobals.toplevelapplication.width/Flexglobals.toplevelapplication.height to x/y.

View 1 Replies

Flash :: Set Stage Size By Screen Resolution?

Feb 17, 2012

I want to create a flash flip-book.How do i set the flash size to be according to screen resolution?Because i want to strech an image to fill the entire sreen.

View 1 Replies

ActionScript 3.0 :: Full-screen Function Re-size Bug

Jan 24, 2009

I'm having the weirdest problem. I have a fullscreen function and it works great except when I try to make the current video playing the same size as my screen. Oddly enough it reports that the swfStage.width is 1280 but the videoScreen.width is 852? [code]

View 3 Replies

IDE :: Full Screen Stage Document Size?

Aug 18, 2009

If Im going to create a full screen flash website what size should my stage document be?

View 1 Replies

IDE :: Maintaining Browser Screen Size With A Video?

Sep 7, 2009

I'm having a conundrum. I am trying to duplicate the link effect: http:[url]....The thing about that is that I am trying to create this for an HTML site as link transitions for a client. My issue is that the swf has to maintain size on ALL browsers and sizes. I've tried setting the html object sizes to 100%, but the video is smaller. Is there something I'm doing wrong?

View 3 Replies

ActionScript 3.0 :: Image Is Bigger Than Size Of Screen?

Jan 17, 2011

I currently have some code that displays an image in a pop up and just takes the width and height of the image. My problem is that some of the images are larger then my screen. How can I get the size of my screen and then readjust the width and height of the image based on that?

View 2 Replies

ActionScript 3.0 :: Resize Automatically To The Screen's Size?

Dec 19, 2011

Is there a way to resize our file to the size of the computer we're watching it?

View 2 Replies

ActionScript 3.0 :: Changing Size To Fitt Browser Screen?

Oct 8, 2008

i have exported my swf's with fetch, however my index file isappearing to be encapsulated in a white boarder inside the browser screen. How can I change this soit fitts the whole screen.?

View 5 Replies

ActionScript 3.0 :: Flash Full Screen With Elements In Fix Size

Nov 22, 2010

I'm tring to make the swf full screen. I published it with scale of 100%.I wish to have some movie clips like text or buttons in fixed size.first, I don't get Event.RESIZE when the stage changed its size second, I try to set their size , but their size is changed according to the stage size and do not stay in the height width values

View 7 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved