Why are my images not loading?

Hello

I am trying to place an image within VBox in my app, but when I run the application, all that is displayed is the placeholder where the image is supposed to be.

This is the code I use to place the image:

< mx:Canvas width = "698".
height = "35%".
right = "0".
Top = '0 '.
verticalScrollPolicy = "off".
horizontalScrollPolicy = "off" >
< mx:Image id = "aviationNightFlight".
maintainAspectRatio = 'true '.
scaleContent = 'true '.
Height = "100%".
Width = '100% '.
source="assets/Aviation_Night_Flight.jpg"/ >
< / mx:Canvas >

The image is located in the Active Directory and the spelling is correct.

I also tried source="@Embed(source='assets/Aviation_Night_Flight.jpg')" / >, but who doesn't either. "

Where is my mistake?

Thank you very much!

Where is the folder "assets" with regard to the src folder?

If this post answers your question or assistance, please mark it as such.

Greg Lafrance - Flex 2 and 3 certified ACE

www.ChikaraDev.com

Flex / development, training, AIR and Support Services

Tags: Flex

Similar Questions

  • Why are my images not display correctly in CS6?

    I have a laptop Vista (old)... only 4 GB of memory; slow; small screen; etc.  It is simply not a good environment for image processing.  I bought this laptop in particular because it fits in my backpack when I travel.  I have almost never use Photoshop on this computer, but when I did there is no problem.

    I just uninstalled CS3 & installed CS6.  Now the images display incorrectly on the screen.  They show as completely transparent, just "Articles" of the image or perhaps even of the "sections" of the different layers.   Looks a bit corrupted images (when it is not completely transparent).  The layers palette shows the thumbnail.  If I move my mouse, the image & click the 'bar' just above the superior rule will appear until the mouse button.

    Would it be because preferences are not set correctly?  I didn't change the default values.

    CS6 Image Display.JPG

    Preferences-Performance.JPG

    You probably have many questions with this old computer. I doubt that the graphics card can handle CS6. You can enable the processor graphics to use in the preferences running, or is it gray? CS6 does not work well on XP and Vista is even older. I seriously consider getting a new laptop. There are many nice small ones that fit into backpacks with fast SSD drives.

  • any images not loaded for some websites - Firefox for Mac

    On the BBC, New York Times, sites Web/House of Guardian images pages load as usual (and ads are blocked). On the sites of CNN and the Washington Post, no images not loading either.

    This is true both in Firefox 3.627 (extensions 1Pasword AdLock more, Download Helper, installed on my Mac G4 running OSX 10.5.8) and in Firefox 10.0.2 (AdLock Adlock more popup Addon, color, Firefox Extension systems sheep management) on a MacBook Pro running OS x 10.6.8.

    I also Adlock in Safari on both computers, but it does not block the normal images of these same web pages, only ads.

    I'm new to Firefox and may have messed up some preference settings. I looked at them and nothing obvious comes out. Does anyone have an idea of what can be the problem?

    Thank you

    Mr

    G4 MDD Dual 1.25 GHz/2 GB RAM
    OSX 10.5.8
    MacBook Pro 13 "2.53 GHz/8 GB RAM
    OS x 10.6.8

    Do not load images or animations

    Thanks again

  • Why is my cd not load & play automatically when it is inserted into the media player?

    Why is my cd not load & play automatically when it is inserted into the media player?

    If you use Windows Vista or Windows 7, try the following:

    Click Start, type: AutoPlay

    Press enter on your keyboard

    Scroll to CDs

    Click in the list box

    Select an action:

    Play audio CD using Windows Media Player.

    See:

    Windows Media Player Fact not play Audio CD- Roma automatically

    Also:

    Media Player 12 auto-play when inserting audio CD ... behavior

  • Why does firefox do not load images on my website (CSS)

    Firefox does not load some of the images on my site through css so that the other images (same code) will work.

    Code that does not work:
    .bid_btn {background: url (.. / images/bid_btn1.png) no-repeat;} Width: 150px; color: #FFF; height: 34px; line-height: 34px; text-align: center; text-decoration: none; Display: block; do-size: 14px; make-weight: bold; text-transform: capitalize ;}

    .product_border {background: url (.. / images/productbg.png);} Width: 172px; height: 374px; text-align: center; }

    Code that works:

    .register_btn:hover {background: url (.. / images/register_btn_hover1.png) no-repeat;} Width: 250px; color: #ffdd18; height: 50px; line-height: 50px; text-align: center; text-decoration: none; Display: block; font-size: 30px ;}

    Kind regards

    There is a missing closing ') ' in the file causing Firefox to ignore the rest

    Unexpected end of file while searching for closing } of declaration block. @ http://www.opvakantiebieden.nl/.css/templates.css:38
    

    Line 17:
    top_menu a:hover{background:url(../images/menu_bgtesthover.png) font-size:16px; text-decoration:none; padding-left:10px; padding-right:10px;text-align:center; color:#FFF; display:block}

  • Images not load - but work in preview mode

    HI -.

    I was wondering if someone can help me.  I'm kind new to Dreamweaver and I can't seem to figure this on my own.

    I use Dreamweaver 8.  I developed a web page based on a template in which, everything works perfectly in the "Preview" on all browsers.  But when I downloaded the files on my remote to the accommodation, the base model not load images (found in the 'images' folder) on the page. The pictures I added to the template myself, found in the 'images' folder ($ 200,000 in... and the photo down) load.  If some of the images in the images folder load some aren't.

    I checked the folder of Images at the remote site, and they all seem to be there.  I also checked for broken links, and I do not receive all (I don't know if it will help w / lack of images or not, but I will try everything I can think of).  I also checked to see if there is a CSS stylesheet and it was not provided with the template (there are some CSS info in the code on the html page).  Image sizes are all pretty small.  Can someone help me with this?

    You can view a page at: http://www.200kin5months.com/squeeze-video.html

    Thanks in advance to anyone who might be able to help!

    Stacey

    PS - I've attached a screenshot of preview of Dreamweaver to show what it is supposed to look like.

    Your Web server runs on an operating system that is case-sensitive. You seem to have downloaded a pictures folder, but not a folder of images.

    You do not have a file here:

    images / squeeze - video_425x344_r9_c6.jpg

    But you don't have a file here:

    Images / squeeze - video_425x344_r9_c6.jpg

    So you'll need either change all your image / links to point to the Images /, or download another folder called images.

    Or, if you want to use a single folder, and if your local file system is not case sensitive, you might be able to do in the DW file panel. Here is a method that you use all have them in a folder called images.

    1. SAVE YOUR FILES IN SITE
    2. Rename some Images of Foo (allow DW update links)
    3. Images and rename Foo (allow DW update links)
    4. Download the images and all the files that have changed the DW
    5. Delete the folder of Images online

    HTH

    --
    Mark A. Boyd
    Keep-on-Learnine :-)

  • Why don't blgs not load correctly the first time

    Why are there several "refreshes" to properly load the pages for blogs?

    DNS prefetching

    Firefox tries to speed up loading new websites using DNS Prefetching, which can cause errors in loading page with some configurations of the system. To disable DNS prefetching:

       In the Location bar, type about:config and press Enter.
           The about:config "This might void your warranty!" warning page may appear. Click I'll be careful, I promise!, to continue to the about:config page.
       Right-click in the list of preferences, select New, and then select Boolean.
       In the Enter the preference name window, enter network.dns.disablePrefetch and click OK.
       Select true when prompted to set the value and click OK.
    

    This work fine for me. blank page nor any stop refreshing just to get to a site.

  • Why Windows Vista does not load user profile?

    When logging on it says unable to load the user profile, but the profile is there when I log in Administrator account, how do I recognize my account that I used to use? Everything worked fine until I went to reboot my Dell Vosstro 220, running Vista SP2 with all latest updates... He went to the Startup Repair, and after awhile, I was dirrected to restart the computer. When it restarted, it went to a temporary user profile named after one it starts normally, but there was 3-0 and temp after the profile. So the desktop icon were almost all gone and when you run a temp profile nothing is saved in it when you use... I've logged on to the administrator account and under C:\computer\users my account, I used to use with 2 temporary accounts. One was exactly like my normal account (mountain), but with temp000 after her. I went to Microsoft Answers and he said to go to regedit and find the profiles under machine\software\microsoft \windows NT\profiles and change the name of the supposely accounts 2 so it would not load the Temp account. I followed the instructions to a T and everything is OK except that now it does not load the Temp file, it just says: windows could not load the user profile. I have to hit Control, Alt, delete to bring up the Task Manager and then type Administrator and password that works very well. When I click on administrator, it displays the screen with all that on the computer. MountainMan used to be there under administrator, but he disappeared. If I go down to users in a subcatigory under computer and users it lists all of the accounts that I should be able to access. All the information is there, it doesn't seem right to see as an account profle to load up. I've always had it set to start on MountainMan account without password. Now it takes forever to load the administrator account. It must also be typed in each time instead of remember accounts. How can I get MountainMan load again? The info is there, but he doesn't seem to know the location more. Even when I type in MountainMan it just says unable to load the user profile. I don't know if typing in the name of the account is the same problem or if I have 2 problems. I appriciate any help to correct this situation. Also just FYI, I deleted temporary files after changing names, in which case they were confusing.

    Hi James,

    1. When you created a new user account, have you configured it as an administrator?

    2. When you connect to the old user profile you are able to view your data?

    You can check out the following link and check:

    http://answers.Microsoft.com/en-us/Windows/Forum/windows_vista-files/how-do-i-change-folder-and-file-permissions/465f2b42-63dd-4486-8dd1-c870290efeed

    The above link contains third party links.

    Note: Using third-party software, including hardware drivers can cause serious problems that may prevent your computer from starting properly. Microsoft cannot guarantee that problems resulting from the use of third-party software can be solved. Software using third party is at your own risk.

    For more information, please consult the following link:

    Troubleshoot "access denied" when opening files or folders

  • Why the two identities not loading not messages in Windows Mail or Windows Live Mail?

    I can't seem to get the message to both e-mail address to load. Only the messaes for default address is responsible. I did it yesterday, but now this morning all those who disappeared. I don't know what hppened to them. Not only that, but those of today have not loaded.

    I don't know what information is needed so please let me know. I'm trying to get an e-mail software that will work with most ten an identity/account. Please help me solve this problem.

    Thank you

    Linda

    If you are using Windows Mail, then you can set message rules to divert two addresses to different folders.  My program WMIDs mimics the functionality of identities of ENP (see www.oehelp.com/WMIDs/) but it does NOT work with Windows Live Mail.  You can also try compacting and repairing the Windows Mail database to solve problems of parasites.  And beware of antivirus software interfere (see www.oehelp.com/OETips.aspx#3) and for IE9 (see item 15 on the same page).

    If you continue to use Windows Live Mail, then you need to ask in the appropriate forum (http://www.windowslivehelp.com/product.aspx?productid=15), David said, but they are unlikely to solve the problem.

    Steve

  • Why my camera does not load?

    Hello. I have a Sony Cybershot DSC HX9V. Since then, it does not load reliable. Sometimes it does, sometimes it doesn't and I can't identify what I do differently. Help.

    Yes it is normal, it does not thoroughly.

  • Why have my images not exported via FTP folders and other files?

    Muse new first site filled with versions of office, phone and Tablet and exported via FTP to third party host. HTML and css, but no pictures in the pictures folder?

    I discovered that some of the files were not loaded when I moved the to the root directory to enable the site.  Once I've spotted and sent them to the root directory, the problem has been resolved.

  • Why do images not load correctly, divide and distorted

    loading the pages of websites, I get pics that are deformed, split or color is all wrong, not all just a strange. Anyone has any ideas, it's driving me crazy.

    Hello

    1. have you made changes on the computer recently?

    2. the problem occur when using other browsers?

    3. is the specific question of the images?

    4. you use Internet Explorer to access the Web sites?

    5. What is the version of Internet Explorer installed on the computer? To determine which version of Internet Explorer that you are currently using, start by opening a browser in Internet Explorer.   Then select 'Help' - > then 'about Internet Explorer '.   This will then show what version you use. http://support.Microsoft.com/kb/969393

    Method 1.

    If you are using Internet explorer, see

    Why a few blank pages or incorrectly displayed in Internet Explorer?

    http://Windows.Microsoft.com/en-us/Windows7/webpages-look-incorrect-in-Internet-Explorer

    If you use Internet Explorer 9

    Refer

    Web pages may appear distorted or distorted and colors will not display correctly in Internet Explorer 9: http://support.Microsoft.com/kb/2396576

    Web pages displayed incorrectly in Internet Explorer 9: http://support.Microsoft.com/kb/2404821

    Method 2.

    I suggest you run this fixit from this article and.

    How to reset the settings for Internet Explorer: http://support.microsoft.com/kb/923737

    WARNING: Reset Internet Explorer settings can reset security settings or privacy settings that you have added to the list of Trusted Sites. Reset the Internet Explorer settings can also reset parental control settings. We recommend that you note these sites before you use the reset Internet Explorer settings.

    I hope this helps.

  • Why are some emails not to load with Firefox, but do it with Patrick and IE?

    I have an email account with Yahoo.com and I get my mail on a desktop W8.1 PC and an iPad. The Bureau uses Firefox as the browser 41.0.2; the iPad uses Safari.

    Use the office, I find that many (but not all) of the messages that I see in the list of incoming messages fail to display, i.e. they fail to complete the download after I click on them. If I click on any of these stray messages on the iPad, however, it loads immediately.

    If I close Firefox on the desktop and go to IE and then access the e-mail account Yahoo, the stray message < > is displayed.

    I conclude that the problem was with Firefox, right? Is someone can you please tell me how I can fix this bug so that I can download all my incoming messages on the desktop?

    I want to delete, and then reload Firefox to see if that fixes the problem. Can someone please tell me how to save and restore all my favorites in the process?

    Thank you.

    Comments: I cleaned my cache and temporary files using Old Timer TFC and that seemed to cure the problem. Thanks for your help. .. .wdc202

  • Why are the images in Windows Live / Skydrive photo albums not visible?

    The icons are gray.

    The photos are visible with IE9.

    Have you checked other possibilities in the article?

    Start Firefox in Firefox to solve the issues in Safe Mode to check if one of the extensions of the origin of the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > appearance/themes).

    If this does not work in mode without failure, then disable all extensions and then try to find out who is the cause by allowing both the problem reappears.

    • Choose "Disable all add-ons" on issues to troubleshoot Firefox in Safe Mode to set window to disable all extensions.
    • Close and restart Firefox after each change through "file > exit ' (Mac: ' Firefox > leave";) Linux: "file > exit ')

    In Firefox 4, you can use one of them to start in the questions to troubleshoot Firefox in Safe Mode:

    • Help > restart with disabled modules
    • Hold down the SHIFT key while double-clicking the shortcut from the desktop Firefox (Windows)

    You can also try to 'Reset all the preferences for the default user of Firefox' at the start of Firefox to solve the issues in Safe Mode window.

  • Why are there (but not all) of my Muse slideshow widget images turned out differently when I've retouched in Photoshop CC?

    I have a few dozen photographs embedded in the slideshow widget. Most of them seem exactly as I've retouched in Photoshop, but several appear rotated clockwise 90 or 180 degrees. No one knows why this is happening, and ideally, how can I solve this problem? Thank you.

    Rotated_Image_1.jpg

    Rotated_Image_2.jpg

    Please share the url of the site, also refer to this post and check if that helps:

    Why do some of my images matter upside?

    Second, if you change the type of fill so - what makes the difference?

    Thank you

    Sanjit

Maybe you are looking for

  • Recent Firefox upgrade gieves me an authorization on my site framed error.

    Recent update of Firefox (40.0.2) gives me an error of authorisation on my site framed. I have a site http://calendar.shaw-weil.com/ which is nothing more than a framework. See below When I click on a number I now get permissionYou need a username an

  • Photo of day 801 - nonexistent support frame

    I bought a Toshiba journe ^ 1 ^ digital frame (model number: PPA3702A-1ET2) and support could better be described as missing (ie. it does simply not exist). Here are a few questions: (1) video support. There is an option for the video display, and I

  • laptop turn off during the start of the disc

    Hi, please could someone shed some light on why my laptop starts to boot from the drive (xp home). loading files, but just before initial restart.it turns off, but turns off resarts once again the button, loading files, then just before the reboot, h

  • How to capture the pointer when you use print screen in Vista?

    I am writing instructions for three classes of Excel, and I want to capture the different sliders to include in the directions.  Of course, when I use print screen, they disappear, so nobody knows how to capture them?

  • removal of the deletions

    I have 17 000 deleted emails. Can I keep the most recent 1 000 and 'remove' the oldest 16 000?