How to know size of window

hi, i want to know the size of the window where the flash presentation is running (intended for use in air app).
i tried this:
trace(this.width);
trace(stage.width);
both print 0 as output
tnx
__edit__
i just tried:
trace(stage.fullScreenWidth);  also outputs 0 (first i tried Stage instead of stage and it output an error)

yup, this time it came something different than 0. quick question, if i make my movie say 640*480, tell it to stretch, and run it in a screen of 800*600 what would come as output, 640 or 800?
--edit--
i just tried this: made two frames, in the first one i told it to stop. then while it was on stop i changed window size and in the next frame i told it to trace width. it traced new size

Similar Messages

  • How to know whether my Windows Phone 8.1 App is Associated with the store or not?

    How to know whether my Windows Phone 8.1 App is Associated with the store or not? 
    I have an Windows Phone 8 app already in the store , Now i upgraded it to 8.1 it got upgraded to Windows Phone Silverlight 8.1.
    Now iam trying to use Single Sign on feature on this app but it is showing the error message like
    the App is not Configured correctly i followed the process from  Signing users in to OneDrive
    please guide me how to do this?
    Mohan Rajesh Komatlapalli

    You should post to publish forum.

  • How to re-size itunes window in 11.2

    how to re-size itunes window in 11.2

    Javascript and then mess with these values to achieve the results you want.
    javascript:self.moveTo(100,100);self.resizeTo(1600,1000);
    javascript:self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight);
    Likely the bottom one will work, just change "screen.availWidth" to half your screen pixel width.
    javascript:self.moveTo(0,0);self.resizeTo(960,screen.availHeight);
    Then paste into your Safari address bar, then click and drag the small left icon to your toolbar and when it asks to rename, rename it accordingly.
    Now all you have to do is click the button it makes and your screen adjusts.

  • How to re-size the window vertically so it takes up the other half of the screen?

    This is the third time I have asked this question?  First time on this site.  I am learning how to write HTML through a college assignment.  I do not know how to resize the window so it takes up 1/2 of the screen (vertically)

    Javascript and then mess with these values to achieve the results you want.
    javascript:self.moveTo(100,100);self.resizeTo(1600,1000);
    javascript:self.moveTo(0,0);self.resizeTo(screen.availWidth,screen.availHeight);
    Likely the bottom one will work, just change "screen.availWidth" to half your screen pixel width.
    javascript:self.moveTo(0,0);self.resizeTo(960,screen.availHeight);
    Then paste into your Safari address bar, then click and drag the small left icon to your toolbar and when it asks to rename, rename it accordingly.
    Now all you have to do is click the button it makes and your screen adjusts.

  • How to know size of HTML page set to Jeditor pane  for printing

    Hi,
    i have to print an HTML doc which may be more no of pages .... ,that is set to jeditorpane and this component will be sent to print method , there i have to decide whether page exists. To do so i have to know how many pages the html doc occupies . how can i know ??
    thanks in advance .......

    Hi,
    i have to print an HTML doc which may be more no of pages .... ,that is set to jeditorpane and this component will be sent to print method , there i have to decide whether page exists. To do so i have to know how many pages the html doc occupies . how can i know ??
    thanks in advance .......

  • How to change the default window size display font size on Lync 2013 main window?

    Hi champs,
    Just a simple non-technical question: How to change the default window size display font size on Lync 2013 main window on Windows 7 desktop?
    Thanks,

    Hi,
    Did you mean change the Lync: Change the Default Font and Color of Instant Messages just as Edwin said above?
    If not, as I know, there is no natural way to change it.
    If yes, on the latest version of Lync 2013 client, there is a new option “IM” on Lync client “Options” list. And you need to change the default Font and Color of IM in the interface of “IM”.
    Best Regards,
    Eason Huang
    Eason Huang
    TechNet Community Support

  • HOW DO YOU CHANGE THE WINDOW SIZE OF EBUSINESS SUITE ON STARTUP

    HOW DO YOU CHANGE THE WINDOW SIZE OF EBUSINESS SUITE ON STARTUP
    How do you change the window size for Ebusiness Suite after you log in. Currently it displays at 100% of the screen. I want to set it smaller, at some %

    I don't know if there is a way to set this. Some user's may prefer different sizes of window, depending on their job duties. For example, we have 170 Systems document management integrated with purchasing and payables so users shrink the Oracle window to fill about 60% of the screen while 170 uses the remaining 40% to display the scanned document.

  • How to reset the default window size

    Hi!
    I played around with the different layouts of Adobe Connect Pro and somehow got a real chaos of window sizes and window positions when changing the resolution as well. How can I reset the layout to the default layout settings (window size, window position, which window should appear)? At this moment I cannot move a windows because it's too big to move or resize it.
    Is there a possibility to undo these changes?
    Thank you!
    Best regards,
    Thomas

    Does anyone know how to reset the meeting layout during a running meeting?

  • How to know the correct size of an image?

    hello, a thing ive never got a satisfying anwer on:
    how can i know the REAL image size of an image?
    1.
    image 1a: this is the size i see in the photoshop window
    1b: (why by the way is there 2 sizes?)
    2. image 2: the size i see in windows/my documents.
    same image, big differenct (8mb <--> 49mb)
    which one is correct?
    image 1: size in photoshop window
    image 2: size in windows/my documents

    Don't feel bad; there are more "size" indications than you'd think you need, but they're all useful for some things.  And there are some interrelationships.
    Size indications you might find:
    The size in "megabytes" of the image document in your computer's RAM (the first of the two numbers in your first image). This is helpful for getting an idea of how many resources in your computer the process of editing a particular document is taking. This number can grow to much larger than the second number, for example, if you have a lot of layers in your document that Photoshop has to maintain separately in RAM.  This size number will be reflected in the ultimate file sizes on disk when you save master documents (e.g., PSD) in which you maintain all the layers and other information used by Photoshop.
    The size in "megabytes" of a flattened TIFF on disk (the second of the two numbers you showed in your first image above).  This was a quick defacto shorthand developed by early people doing film scanning that described how many bytes on disk a flattened, uncompressed 8 bits/channel TIFF file would take.  It is always 3x the size of the image in megapixels, because it's the number of horizontal pixels multiplied by the number of vertical pixels multiplied by 3 colors per pixel (red, green, blue).  This usage of "megabytes" is often confused with the size a file actually does take on RAM or on disk, but they can be very different depending on file formats.
    The size on disk of the actual file you saved, as listed by Windows Explorer.  Since you did NOT save the image as a flattened, uncompressed 8 bit TIFF file, but probably as a PSD or JPEG file, each of which embody data compression, the file actually saved on your disk ended up smaller than the projected TIFF file size.  The amount of compression usually differs depending on the image content, so you might find this size varying.  The file size on disk is what will be important to web publishers.
    For what it's worth, I prefer to think primarily of the size of an image document in pixels (horizontal x vertical).
    I always keep my mind on the pixel count while editing. Then, when I'm preparing to use the image for a specific purpose, I think in terms of output size.
    Photoshop's Image - Image Size... dialog is where you set sizes. If you choose to resample, you change the pixel count. This can be appropriate for downsampling an image in preparation for web publishing, where you want the image to be a certain size on a screen. If you don't resample, you are changing metadata kept in the document that instructs Photoshop how large you want a print.  The size of an image in pixels DOES affect the size on disk, and the File - Save process for some formats (e.g., JPEG) puts up a dialog to allow you to choose a compression quality level, which additionally affects the size on disk.
    Hope this helps illuminate what you're seeing a little.
    -Noel

  • How do I make my website fit in all size browser windows?

    Hi there,
    I should start off by saying that I am very new to web design, and have very limited knowledge of CSS and HTML.  I understand what they are and the nature of what they do, I'm just not code savvy. 
    Now that that's out of the way, I've been designing/attempting to build a website using Dreamweaver.  I have all of the components and layout that I want designed and ready to go, but I desperately need help with translating that into Dreamweaver.  I've been researching information all over the web, but with one person suggesting one thing and another suggesting something completely different I'm afraid my brain is about to melt.
    Here's what I've done so far:
    Because I want everything fully customized and to use a less common font style, I saved everything from the graphics, photos, and links as .png files.  I then inserted each of those images into an AP Div Tag in Dreamweaver and arranged them appropriately.  That's absolutely all I've done.  It works great, except I have no idea how to configure everything so the site layout shows up centered in any size browser window, instead of sitting awkwardly in the corner.
    Here's a link to what currently exists: http://ikikatawares.com
    I've read dozens of articles and forum responses about building tables, but I'd like to avoid that since to me they seem clunky and kind of a hassle to deal with.  Can anyone please help me?  Thanks.
    Beth

    You need to put only the bold part into your code.
    Immediately after your starting <body> tag add in
    <div id="wrapper">
    and immediately before your ending </body> tag add in
    </div>
    Then at the end of your css, you currently have...
    #apDiv10 .navBarLinks .navBarLinks {
    font-weight: bold;
    Change that to...
    #apDiv10 .navBarLinks .navBarLinks {
    font-weight: bold;
    #wrapper {
         position:relative;
         width:1005px;
         margin:0 auto;

  • I am trying  to install CS3 on Windows 8 and keep getting a message saying "the serial number I entered is not valid please enter it again" Does anyone know how to install successfully on Windows 8?

    I am trying  to install CS3 on Windows 8 and keep getting a message saying "the serial number I entered is not valid please enter it again" Does anyone know how to install successfully on Windows 8?

    CS3 is unsupported under Windows 8. That said, you'll need to contact Adobe
    directly for serial number issues.

  • How can I change the window size of iTunes?  Used to be easy before installing Mavericks.

    How can I change the window size of iTunes on my iMac?  Used to be easy before installing Mavericks.

    If you want to make the itunes tab so you can see the dock
    you press the
    esc
    button if your in full screen mode
    if you want to get into full screen mode you press the arrows facing away from eachother in the top right corner
    there is another way to get to the normal tab if your in full screen
    make the curser go right up to the top of the screen and it will show the apple tab
    it will have two arrows facing together highlited in blue
    if u tap that it will take you to the normal tab

  • How can I control the window size of my output?

    Hi,
    I'm drawing a blank... How do I control the size of the window that my project is viewed in? Right now, it's the entire browser window.
    Thanks,
    Janice

    Hi,
    From your post, I assume you are creating WebHelp output.
    You  need to create a window for the help in the Project Set-up pod. Then,  you need to make sure you call the output so that the window is used.  See http://www.grainge.org/pages/authoring/calling_webhelp/calling_webhelp.htm.  This article on Peter's site give you an overview over the  possibilities of calling context sensitivive webhelp and also tells you  how to specify the needed window. Also, the installation directory of  RoboHelp 8 contains a directory called CSH API. In there are example  API's your developer can use to call the help.
    Greet,
    Willam

  • How to know exact size of table with blob column

    I have a table with one BLOB column. I ran this query.
    select bytes/1024/1024 from user_segments where segment_name='GMSSP_REQUEST_TEMP_FILES'
    (user_segments is a view)
    it gave me 0.125
    It means size of table is 0.125. I have uploaded 3 files to this table. Each of them is of 5 mb. After that I check size of table. but result was same. i.e 0.125.
    Can any body tell me how to know exact amount of space consumed by files. I am expecting following result
    size should be (5+5+5+0.125)MB
    Any help is appreciated.
    Thanks.
    Akie

    http://download.oracle.com/docs/cd/B19306_01/server.102/b14237/statviews_1092.htm#i1581211
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:266215435203#993030200346552097

  • How to know the specific size of a field in oracle table

    Hello,
    oracle 11.2.0.3 on redhat
    i have three tables with same structure, table0, table50, table100:
    create table table0 (id number, shipment RAW(2000), options RAW(2000));
    i inserted 10000 rows in each but with some differences:
    table0 has 10000 id, but shipment and options has null values
    table50 has 10000 id, but shipment and options has only 5000 rows, the other 5000 are null values
    table100 has 10000 rows of id, shipment and options. No null values.
    I want to know the specific size of each column, also the size of each row, to know the exactly size of the field.
    for example:
    row 1, column options of table100 has "asdfasdfagasdgasbabsdgoasdpgiahnwe1129u412094u12"
    row 2, column options of table100 has "a".
    both are raw datatype, but i think its space will has different size (bytes), how to know it? any query?
    I found this query:
    select owner,tablespace_name,segment_name,sum((bytes/1024/1024)) Bytes
    from sys.dba_extents
    where owner in 'MAA' and segment_type='TABLE' and segment_name ='TABLE00'
    group by tablespace_name,owner,segment_name
    order by owner,tablespace_name,segment_name, bytes; but i think it isn't my solution.

    thx mr. sb92075
    i tried with vsize too but same result:
    with table50
    SELECT VSIZE(OPTIONS) FROM TABLE00;
    VSIZE(OPTIONS)
                 1000
                 1000
                 1000
                 1000
                   *with table100
    SELECT VSIZE(OPTIONS) FROM TABLE100;
    VSIZE(C_ELECCION)
                 2000
                 2000
                 2000
                 2000
                      *it's the same size for 'a' like 'abcasdfjañldngaosnbaposnbpaosuqroiwejrklasndiaoshbaposdjgajs'?? It's hard for me to believe.
    data is saved in blocks, a extents is a contiguos number of blocks and a group of extensions are segments. If you insert some text in a table field, Oracle create a extension and insert there the data but depend the bytes you insert Oracle will create one or more extents. How to know this specific space in that field?

Maybe you are looking for

  • Multi-Value return on the selection screen.

    hi everyone, I have two parameters on selection screen, Material Number and Material Description. I have provided custom F4 help for Material Number and the Material Description Field is input disabled. On selecting one of the values for Matnr from F

  • Broadband Support - Indian Helpdesk is awful

    Sorry BT but having an Indian Helpdesk is the worst thing you can possibly have. The staff may well be cheap and save BT lots of costs in terms of overheads, but the poor quality of service that this produces is in no way worth it. The two people I h

  • Make Matrix of Video Clips

    I would like to make a matrix of video clips in Motion. Just like in the first example in Motion's Quicktour for Replicator: http://www.apple.com/finalcutstudio/motion/quicktours/replicator.html I've looked in the manual, the book, and just tried exp

  • Updated iPhone 4s iOS 6.1 App Store and iTunes is very slow sometimes does not open, what to do?

    Updated iPhone 4s ios 6.1 App Store and iTunes is very slow sometimes does not open what to do?

  • Out of memory message when rendering

    I have read much about this issue in other posts, but havn't been able to solve my problem. when rendering a sequence of large still in DVC Pro 1080i, about a 20% of it rendered, then the message "out of memory" comes up. The rendered part looks swee