Stretch an image to fill a screen.

Can I make an image stretched to fill a screen? This example will grow only to fill the height or with 100% it doesn't stretch the image. Any thoughts on how to change this?

<mx:Image source="assets/background.png" x="0" y="0" width="100%" height="100%" />

Hi ryancanulla,.

You must set the maintainAspectRatio = "false" on the Image control to stretch/scale to the full size of its container.

Default maintainAspectRatio = "true" and he could not stretch completely... Then go to false.

Thank you

Jean Claude

Tags: Flex

Similar Questions

  • Force the Image to fill the screen when the user resizes the window

    I use flex and actionscript to create a site of photographer and I want the bottom to display an image that completely covers the bottom without distortion.  I tried just an image tag and characterized by the width and height to 100%, but the problem comes when the screen looks wider than the photo.  Thus, the height is reduced to 100% and the width is something less.  I would have rather it evolve according to what is most important, that is, if the window is too wide, the photo with a width of 100% on the scale and let the excess off the screen.  In this way, the photo is still cover the screen and there is no background color of distractrating showing.

    I was counting on the use of actionscript to indicate the width and height of the image so that I can compare it to the height and width of the window, but it seems that you can not get the dimensions of the photo.  I use application.width and application.height, but I need a way to compare it to the photo.  Also, is there an eventlistener that I should use to monitor when the user resizes the window or image resizing will be done automatically?

    Thanks for your comments,

    Tim

    The application container inherit "resize" event of UIComponent.

    Application.application.Width will give you the size of the application in the browser window.

    Thus,.

    function myResizer() {}

    img1. Width = Application.application.width;

    }

  • iMac (21.5 inch, mid 2011) programs do not fill the screen

    My windows does not fill the screen, as in there is a small strip at the bottom of my screen which is my desktop wallpaper (screenshot of control to the footer of this website) any application that I use, I still see a bunch of my wallpaper down. I love being able to see my toolbar I have a few apps running for the supervision of different things, which is why I do not enter the mode full screen as it hides everything. Is there a solution to this? I can drag the window down a little and then stretch her so it fills the screen, but a simple refresh my browser or a change in the program, it will break again with the small bar at the bottom again.

    Please post a screenshot of the page complete so we can see what you're referring to.

  • It is possible to zoom the image to fill the window (or full screen)?

    It is possible to zoom the image to fill the window (or full screen) and shift then return to the library or develop fashion with all the panels?  The L command does not zoom the image up to full size of the screen or window.  Is a similar order the brand is the image as large as possible?

    F takes you on a full-screen, is just "lights out" so you see what is currently in front of you, but without the panels. D and G switch between the library module and to the point, but as soon as you press those then you exit the full screen.

    Here are some keyboard shortcuts.

    https://helpx.Adobe.com/Lightroom/help/keyboard-shortcuts.html

  • I want an image to fill the entire screen without margins

    I want an image to fill the entire screen without margins, much like this one, http://waltoninsurancegroup.com/contact , but I want to keep my margin for everything else the same. can someone help me with this? dreamweaver CC

    Don't forget to turn off the margin of browser default to yourtag with the css...

    {body

    margin: 0;

    }

    If you do not do this, any width 100% image, you add stops a good 20 pixels of up, down, left, right

  • Could not get the image format to fill screen TV is set to 16: 9 all other devices to fill the screen

    I can't get the picture size to fill the screen. The TV is set to 16: 9 and all other devices to fill the screen.

    Thanks for any suggestions that might help solve this frustrating problem.

    Welcome to the Apple community.

    The devices on which you are talking about, are you using AirPlay.

  • Make image fills the screen

    I want to make the picture fill the screen as http://www.digitalstormonline.com/bolt-ii.asp, I want it to fill the screen, even when you zoom in and out

    Hello

    did you check that

    Add a picture to the background of the page or the browser. Adobe Muse CC tutorials

    Check the link, under the title "working with width of 100% the value of the elements ' below

    Adobe help Muse | Using the fill options and fill out browser

    Let me know if you have any question.

  • Hero image to fit the screen vertically?

    I recently created a Web site with a navigation bar on the top of the home screen. Just below the navigation bar, I placed a hero image that spans the entire width of the page. I want to make this image extends all along the visible page by the person accessing the page. This means when they visit the site, they will see only the bar of navigation and the image of hero. Then when they start to scroll down, more of the page will be revealed. I found a great example of this at www.orangedigital.com.au

    Any help will be much appreciated.

    You can either use an image in the browser or the filling of the page or you can stretch the image vertically so that users get the option of scrolling the page on the image.

    Thank you

    Sanjit

  • Games running in lower resolution on the desktop resolution does not fill the screen

    I have a laptop HP ENVY 17 TS with NVIDIA GT 740 M and Intel 4600HD graphics drivers and running Windows 7. Whenever I want to change the resolution in games at a lower resolution on the desktop resolution, the game shrinks to its view, leaving the couple of inches black bars on the edges. For example, if my the desktop resolution is 1920 x 1080 and I want to start a game in 1600 x 900, the game does not fill the screen, instead, it leaves an amount of empty space on the edges of the screen.

    In order to solve this problem, I tried the following steps:

    I first tried to locate the view tab in the NVIDIA Control Panel in order to define the scale/stretch in "Full screen", but my version of NVIDIA CP isn't the view tab (my NVIDIA drivers are the latest version).

    Then I discovered that I should do this in the Intel HD Graphics Control Panel. My Intel HD Graphics CP has an option named "Calibration" under display > display settings and it doesn't show the option to retain display scaling that is checked by default and does not change. Also, after searching the Internet I saw that some people suggested entering the 'advanced settings' and try to make changes. When I try to enter advanced settings, under view, it says 'this screen does not support advanced settings'.

    After trying without success, I tried the update driver Intel via their website, hoping that it can fix the problem. I ran the small Intel application on their Web site that identifies my chipset and offers me the latest driver for this chipset. Web site told me that the driver is installed on my computer is 10.18.10.3304, and there is an update for what is 15.33.18.64.3496 (or 10.18.10.3496). So I downloaded the file, but when I tried to run, it gave me this error message: "the drivre being installed is not validated for this computer. You can get the correct driver from the manufacturer of the computer. Setup will now exit. "that makes no sense.

    After trying the above steps, I'm not able to solve the problem, and I need help from someone who really knows how to solve this problem.

    Thank you.

    Solution (I hope)

    1. choose the properties of the graphic (logo Intel) option when you right click on the desktop

    2. go in view

    3. go through the resolutions on the 'Resolution' and change to this resolution (do not click Apply)

    4. for everyone to go to 'Scaling' at the bottom of the screen and change it to scale full screen (do not click Apply)

    5. Repeat until you get back to the higher resolution (that won't let you change the scale).

    6. quickly choose a few resolutions from the drop-down menu to make sure that they have changed their scale.

    I had a problem with some resoultions changing the way they were, but which should solve most of the problems.

  • Ideas: Insert an error code or give a brief description of what you are trying to accomplish or fix.__media center tv shows only tv in the Center 3 "inches of black on both sides how I filled the screen

    Television Media Center only one tv in the dark on both sides of Center 3 "inches, how do I fill the screen e-machines 600 GB

    Hello, Russell

    Windows Media Center will use as possible while maintaining the proportions of screen space. If you have a TV screen and watch a video 4:3 standard, it will keep the bars on the side.

    You can change the level of zoom in now the keys CTRL and shift and press 'Z' to scroll through the different zoom levels so that it fills the entire screen at your convenience, but keep in mind that you will not be able to see the full image if the proportions of the video does not match your TV.

    David
    Microsoft Answers Support Engineer
    Visit our Microsoft answers feedback Forum and let us know what you think.

  • How to develop the film to fill the screen?

    When you watch a tv movie widescreen by media center, the image is small and in the middle of the screen, with thick black bars on top, bottom, left and right.  How to I develop the image of film to fill my screen?

    Hello RobWeber

  • HP G60-230US laptop HDMI output never fills TV screen

    Interface using HDMI Cable output on my HP G60-230US laptop (Vista and built-in by default Intel graphics software), the image on a LCD TV ever fills the screen - it is only about half as bigger than the screen.  This happens on two LCD TVs in my house - both a new LG 1080 p and an older Magnavox 720 p set. I tried to set the resolution of the screen pretty much all values listed, but nothing has worked.  I have another laptop (an old Lenovo T60p

    with a higher end graphic card), that has a DVI output.  When I use it with a DVI-hdmi cable, two TVs show the total size of the image.

    Any suggestions on how to get the output full size on a HP G60-230US hdmi TV?

    This is the case of the question, with graphics and display using HDMI to image...

    I see you have graphics card intel card... here are the steps on the scale manually to the top of the image...

    • Right-click on the Windows desktop, and then click graphics properties to launch the Intel graphics properties window.
    • Click the arrow next to the scaling and select Customize Aspect Ratio
    • Now move the slider beside the horizontal/vertical scale until the image fit to the screen
  • Can I take pictures in my movie maker slide show to fill the screen?

    I use Windows vista and windows movie maker to create my first slideshow. my demo, whether seen full screen or not, the images have wide black borders left and right. is it possible to have pictures to fill the screen? If so, it will become distorted and pixelated?  Thanks - dave

    It looks like you may have a wide screen monitor
    16:9 and your photos are probably 4:3. If it's the
    case... Yes... the photos could be extended to read
    full screen unless they have been cut (up and down)
    to the same proportions as the screen of the monitor.

    FWIW... the freeware PhotoStory 3 built in the
    option of cropping photos to fit the screen... and
    It is a great application to create video slideshows.

    (FWIW... it's always a good idea to create a system)
    Restore point before installing software or updates)

    PhotoStory 3 for Windows
    http://www.Microsoft.com/downloads/en/details.aspx?FamilyId=92755126-A008-49B3-b3f4-6f33852af9c1 
    (works on XP, Vista and Win7)

  • Windows 8 on AMD Radeon graphics card is not completely fill the screen

    Just installed Windows 8 Pro on a Dell Inspiron Zino HD with an AMD Radeon HD 4300 Series.

    Display is a LG on HDMI monitor.

    Installation went well apart from my screen Windows does not fill my entire screen.  I don't think it's something to do with the resolution of the screen, it's just the way that 'image' does not fill the screen correctly.

    Hello

    Did you install these legacy AMD official drivers?
    There is also a setting in the Catalyst Control Center associated with overscan (he has a slider).
    This one should expand your image to fill the edges of the screen.
    Carlos
  • Fill the screen

    I want that my background image to fill the entire screen. What is the size I need to do or there at - it a way to automatically fill the screen?

    You can use the picture as fill for browser so that it covers the browser screen and should be the same with any window size.

    https://helpx.Adobe.com/Muse/using/using-fill-browser-fill-options.html

    Thank you

    Sanjit

Maybe you are looking for

  • Clarification of the Etrecheck

    Hi all, I have seen a couple of these posts and tried to make sense of them, but I am at a loss. My iMac (end 2013) was unbearably slow (safari, finder, photos, whatever- allbeach balls) for the better part of a year now. In fact, we have abandoned f

  • Equium A60-155, don't 'sees' new HARD drive

    I have an old Equium A60-155, P5A67E and tried to install a new drive hard - one Samsung 120 GB, 5400 RPM IDE.However the BIOS (ver 1.90) is not 'see' and has no auto-detection option I see either - in fact it has very few options for anyone! The exi

  • Saving a file from an acquisition card .avi

    Hello I just got an delivered acquisition card. Model is the MC4 '' Source of imagery. With the acquisition card, they delivered a CD with drivers, including drivers for LabVIEW, so that I managed to do it working pretty quickly. What I want to do wi

  • Programs Windows missing from the Start Menu

    All my Windows programs have disappeared from the start menu.  I was playing with the option hidden files on some of my shirts.  I followed the suggestions of another post on changing the property of my programs to uncheck hidden and which did not he

  • BB10 App OTA Installation

    I know this is off topic for this forum, but I don't know where else to open the discussion among other developers. Were there any news on if BB10 will allow installs OTA as does the current BBOS?