Why are my images not loading?

Hi there,
I am trying to place an image inside of  VBox in my application, but when I run the application, all that is displayed is the placeholder for where the image is supposed to be.
This is the code I am using 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 assets directory and the spelling is all correct.
I have also tried source="@Embed(source='assets/Aviation_Night_Flight.jpg')"/> but that doesn't work either.
Where is my error?
Thanks so much!

Where is the "assets" folder in relation to the src folder?
If this post answers your question or helps, please mark it as such.
Greg Lafrance - Flex 2 and 3 ACE certified
www.ChikaraDev.com
Flex / AIR Development, Training, and Support Services

Similar Messages

  • Why are web images not loaded on Safari?

    In many cases, as I open my Safari browser most web sites are not showing any image or picture. This happens for example for:
    - Google MAPS
    -  airbnb.com
    I have tried many times to empty cache and restart Safari, but it does't work at all. The same behaviour happens on Chrome browser.
    I've got a MacBook Air 11' (End 2010) with OS X Lion. Even with Leopard I had the same issue.

    Could this be a Flash issue.  Is Flash installed on your machine?
    I believe the Air does not come with Flash installed so you have to install it yourself.

  • Why are YouTube videos not loading properly on Safari?

    YouTube videos on Safari are not loading properly.  It is as if the YouTube viewing window loads right-justified on the screen. Which ends up being like almost a perfect square on the screen, with the unfortunate result that part of the video is truncated at the right.  The same exact video on Chrome loads just fine.
    I've just updated Flash and the problem persists.
    Here's a screenshot.
    The right part of the image shows a "Google 414 That's an Error" along with the description "The requested URL/adi/N8380.280090.ACCORDANTMEDIA/B7762596.101545485... is too large to process. That’s all we know."
    Is anyone else having the same issue?

    Hi Carlos ...
    Open System Preferences > Flash Player then select the Advanced tab.
    Click Delete All under Browsing Data and Settings
    Back to Safari. Press Command + Option + E to empty the Safari cache.
    Quit and relaunch Safari, try a video.
    And make Allow all other plug-ins is selected in Safari > Preferences > Security
    Command ,  (comma) will open the Safari preferences pane for you, or from your Safari menu click Safari > Preferences
    If nothing above helped, try troubleshooting Safari extensions.
    From the Safari menu bar click Safari > Preferences then select the Extensions tab. Turn that OFF, quit and relaunch Safari to test. If that helped, turn one extension on then quit and relaunch Safari to test until you find the incompatible extension then click uninstall.

  • Why are my images not showing up?  Worked fine before yesterday...

    First, Happy Thanksgiving!
    I use iWeb for my photography business (www.rosiejohnsonphotogaphy.com). All has worked fine until yesterday. Now the images on my linked pages are not showing up. They are imported from iPhoto. Now one image is at the top (it is not imported from iPhoto) and at the bottom of the page is this "comments widget". I swear that I did nothing to my website yesterday - didn't even have iWeb open.
    Any ideas why this is happening??
    Thank you in advance!
    For clarity, here is the actual web address:
    URL: web.mac.com/rosie_johnson
    Message edited by RosiePosie
    Message was edited by: RosiePosie

    Wyodor,
    Thank you for taking a gander. I mistyped: www.rosiejohnsonphotography.com. Must have not had enough coffee at that point....
    So I checked my website from our other computer (not the one I use to update it) and all images loaded and looked fine. I then tried it from this computer (the only one used to update the website) and no pictures! Why is this?! I think it has something to do with this "comment widgets" statement at the bottom of each web page and the RSS box at the end of the web address bar. Any ideas how to fix this and get it back to where it was working would be appreciated!
    Thank you.

  • Why are the images not printing from InCopy? Why is the relink button in Links panel ghosted?

    I am having a problem with printing from Incopy. All stories are editable and that is working just fine. I am able to view the images although AD has set the graphics to not be editable yet I can still see them of course.
    My problem is upon wanting to print the layout. Getting a message that the image links are missing. I have not moved the original folders (they are all set up on the same level in one main folder). I am working remotely, layout based workflow via dropbox.
    My client would like to have the option to print layouts also initially. How can I relink the images if the "relink" button is ghosted. Can somebody help me please? I have tried doing a restart… Any ideas? 

    the-edmeister, you are a genious. I went to "view" then "toolbars" and de-selected "yahoo toolbar" and then moved the curser over my firefox page and it now works completely including the problem area (the top 3 cm of each screen). Thank you, thank you, thank you, thank you, thank you, thank you. You have no idea how good I feel know on this otherwise cold, windy and rainy day.

  • Why are my apps not loading on my ipod touch?

    Both my kids have ipod touch.  Over the past few days they have not been to access their apps via wifi.  The social networking apps like: Twitter and Instagram.  In addition, Google won't load.  They are able to use messaging apps like Kik and Skype.  I have an iphone and mine is working fine.  Their devises are saying the software is up-to-date.

    Tap Settings > General > Reset > Reset Network Settings
    You will have to re enter the Wi-Fi password.
    If that doesn't help, try here >  iOS: Troubleshooting Wi-Fi networks and connections
    Even though your iPhone can access the internet, you could also try restarting the router.

  • Why are background images not showing in pdf?

    You see the strawberries for a second when the pdf first opens then they disappear. We use pc's here at work. XP. Most files do come from mac users.I review packaging files before they print. I did install reader xi. My boss is using a pc laptop but not having this issue.

    Have you checked  Edit>Preferences>Page display>Page content and information to be sure that "Show large images" is checked?

  • Why are imported images not visible any more in My Catalogue?

    I am trying to find out if there are limitations in PSE's Organizer that make it pointless for people with large numbers of photos to bother buying PSE 12.
    I imported 1050 JPEGs into My Catalog without problem using PSE 8 but all subsequent imported JPEGs show up as Thumbnails that are Opague with an Hourglass design on them. This makes organizing these images impossibly slow.  When I created a new catalog -- good advice from "andalebbfatima.1" --imported thumbnails were visible again.
    But what to do about the 1050 images in the original catalog? I've got two thick "how-to" books and they say nothing about copying images from one catalog to another.
    More important, to have confidence to buy PSE 12, I need to know what caused the 'invisible' thumbnails in the original catalog and is it something that could happen again after another two years of scanning, importing and trying to organize?

    Glad you got it working.
    For creating multiple catalogs from this original one, you can create copies of the original catalog. Check your catalog location using Help > System Info in Elements Organizer.
    Now copy paste the catalog folder (i.e. the folder having same name as your catalog) in the same location. So now, you have say folders say- MyCatalog and MyCatalog-Copy.
    You may open MyCatalog-Copy from Elements Organizer using File > Manage Catalog. Once this open, you can remove images from it so that only a selected set of images can be organized in this catalog. Now images get deleted from the hard disk in this process. Likewise, you can organize the original catalog.
    Hope this helps.
    Thanks
    Andaleeb

  • Why are certain fonts not loading in my fontbook

    I am having issues loading fonts into my fontbook - and onto my system.
    Oddly, one of these fonts is Helvetica.
    I am running on Mac OSX 10.7.5 - Intel Core i5.
    Version of fontbook: Version 198.4 (198)
    If anyone has any ideas of why this is happening, and what I need to do, please let me know!!
    Thanks

    Hi D Holcomb
    If you acess Illustrator > Preferences > Type section there´s a field you can enable called Show font names in English.
    If you enable this option...does the Kozuka font continue to be showed in japanese?
    Best Regards
    Gustavo.

  • Why after ccleaner mozilla not load images in some websites. How fix it?

    Why after ccleaner mozilla not load images in some websites. How fix it?

    You can use these steps to block images from a specific domain:
    * Open the web page that has the images in a browser tab.
    * Click the website favicon ([[Site Identity Button]]) on the left end of the location bar.
    * Click the "More Information" button to open the "Page Info" window with the Security tab selected (also accessible via "Tools > Page Info").
    * Go to the <i>Media</i> tab of the "Tools > Page Info" window.
    * Select the first image link and scroll down through the list with the Down arrow key.
    * If you want to block images then place check-mark in the box "<i>Block Images from...</i>" to block the images from that domain.
    You can set the permissions for the domain in the current tab in Tools > Page Info > Permissions

  • Why are my movies not downloading? there is always coming error 9006 or it pretends that its loading but nothing is going...

    Why are my movies not downloading? there is always coming error 9006 or it pretends that its loading but nothing is going...

    wjdavis wrote:
    I can't remember exactly what I did. I do know that when I started it up, I couldn't find the Setup Assistant on the hard drive,
    No, once a user has been created, you can't run Setup Assistant  (without erasing and reinstalling).
    What do you recommend for fixing this?
    Here's what's happened: 
    When you first start up a Mac and create the first user account, OSX assigns it UID (User ID) #501.  The next one gets #502, etc.  Those UIDs (not the user name) are what control permission to files.
    You can see those numbers via System Prefs > Users & Groups;  click the padlock and enter your Admin password, then select an account and right-click it, and select Advanced Options.  Do not change anything on that window.
    So . . . assume your old iMac had a user 501 with the data you want; it's identified that way on the backups.
    When the Apple Store started up your new Mac, and created their account, it became #501.
    When you used Migration Assistant to transfer the 501 account from the iMac's backups, OSX copied everything there "as is" except it had to change the 501 to 502. 
    The new 502 account has all the right permissions to things now in it's home folder, but the backups belong to user 501.
    Have you added much to the Mac since you did the migration?  Have you done any new backups?  If not, while it's a bit of a hassle, one fix would be to create yet another user account temporarily.  Make it an Admin account.  Log on to it and delete all the other accounts.  Then migrate the accounts from your backups; this time there won't be a conflict, so OSX won't have to change the UUID(s).
    But if you have done new backups, this won't work, since Migration Assistant automatically uses the most recent backup.  There's a way around that, but it's a bit (or more) tedious.
    Clear as mud? 

  • Iphone 4s with upgrade to ios 6, why are the images I save "save photo" not in my camera roll?

    I have an iphone 4s upgraded with ios 6. Why are the images I save "save photo" not in my camera roll? Where do they go?
    Thx,
    surfin steve

    Hey, I just had this problem, I went into Settings -> Privacy-> Facebook (which is where I was saving photos from) -> turned it on, then back to settings -> Facebook-> and logged in. When I went back to Facebook and saved a photo and it saved to my camera roll. I haven't tried it with anything else yet though. Hope this helps!

  • Disc Burner. Why are some files not readable or writeable?

    Hello,
    I am trying to backup my friends computer files on a beige G3 (233 MHz). I am burning about 6 DVDs of AIF music files. Most of the files are about 30 - 40 Megs in size. Often I receive error messages on particular files that read:
    "The operation cannot be completed because some data cannot be read or written.
    (Error code - 36)"
    Followed by the choices: "Stop" or "Continue".
    I have a bad feeling that my startup disk is too small but I am not sure.
    Most of the files work fine. However some of the files cause disc burner to not be able to use them in the disc image before I burn. Why would this be?
    Here are the specifications:
    Computer: beige G3 with two hard drives (one SCSI and one ATA hard drive) and a Pioneer DVR-110D DVD writer which is Apple supported (Apple system profiler indicates Apple supported on this DVD writer). My blank DVD disks are Sony Vermatim DVD-R (1 - 16x speed support). Although I think my beige G3 only writes them at about 2 or 4x.
    I am using OS 10.1.5. My startup disk which has OS 10.1.5 in it is a 4 GIG SCSI disk. Is this big enough for a startup disk (for creating 4.5 GIG DVDs)? My files are on the second hard drive which is a 40 GIG ATA disk.
    I have a bad feeling that my OSX startup drive is too small for disk burning - it is only 4 GIGs in total and OSX Disc burner (Disc copy) is first making a disk image on my startup volume before it burns it. Perhaps that disk image is too large for the startup volume. Is there any way I could ask OSX to put this disk image on the second larger hard drive instead (not the startup drive?).
    Here is my process (I hope I am doing this right - I am new at this):
    1. I first insert a blank DVD-R
    2. A message pops up asking my if I would like to create a blank disc image for this disk (I think this is the typical Disk Copy utility window. I say "yes" and give it a name and choose the "DVD-R or DVD-RAM" option. (I am not sure if there are other important settings to choose here or better settings to use but I guessed the other options that seemed obvious. A blank disk image is created with an icon that looks like a DVD disk.
    3. Then I drag my chosen files to this blank disc image. It takes about 30 minutes to copy over. Thats when I receive the error message that some files couldn't be "read or written". The other files work fine but it would be nice if they all worked.
    Why would some files not be readable or writeable?
    4. Then I choose file/burn in the top menu and the DVD is created. This takes another 20 - 30 minutes. At the very end of the process another message pops up saying:
    "Sorry the operation could not be completed because an unexpected error occured (error code -28)" Followed by an "OK" button.
    However all the files that made it onto the final DVD are fine - its just that its not all of the ones I originally chose in the first step when dragging to create the disk image.
    Am I doing this the right way?
    Why are some files not "readable or writeable" as it indicates in the error message?
    Is my 4 GIG startup disk too small for this? or are the music files possibly corrupt? or could there be some other possible problem?
    Thanks

    To follow up, I have some good news. After following your advice Kappy, it now works very well Thanks! Instead of using the 4 GIG volume for the OS, I am now using an 8 GIG partition on an 80 GIG drive. So now the OS has some room to operate. No disk errors occured on my first DVD
    Now there was one problem. The second DVD burned gave me an error. I am not sure why but I am going to guess that because I had to installed the OS onto an 8 GIG partition maybe the OS needs to be rebooted in between disk burns because although 8 GIGs is certainly greater than the 4 GIGs I gave it last time, it still isn't a lot of space - maybe just enough to do one DVD at a time. Thats only a guess. So I rebooted to see if that clears the system out ready for the next DVD and I am trying to burn the second DVD again. If I remember I will report back. In any case, yes, this seems to be working. I hope this second DVD burns well too.
    Thanks Kappy

  • Why will Adobe Acrobat not load PDF from my work website, but will load on other computers?

    Why will Adobe Acrobat not load PDF from my work website, but will load on other computers?  I have to log in to a website to get our orders, and we thought it was the website at first, but have since realized it is just my computer with this issue.  I have tried uninstalling and reinstalling the software and still it does not work. 

    You ask "why", but don't provide any information...
    What is your operating system?
    What is your web browser?
    Are you asking about Adobe Reader or Acrobat?
    What is your Reader / Acrobat version?
    What exactly means "will not load"?

  • Why are my images suddenly darker in camera raw and photoshop C4 than when I open them in bridge?

    Why are my images suddenly darker in camera raw and photoshop C4 than when I open them in bridge?

    "Catalog"?  Are you referencing Ps Elements perhaps?
    Wrong forum.  We do not do Elements here.
    Here's the link to the Elements forum:
    Photoshop Elements

Maybe you are looking for

  • How does one get any basic options in Dreamweaver?

    I am trying out Dreamweaver due to that my school is offering it.  I don't know crap of html. But I have to make an attempt at making an internal school website. Okay so... it says it's DW CS4, I don't know what CS4 means.  How do I get the options t

  • Script to auto copy everything on DVD insert

    Hi, I have about 150-200 back up DVD's that I want to transfer to hard disk. The hard disk is on a headless server. I would like to have the server auto copy everything from the DVD to a certain folder when I insert it and, if possible, eject the tra

  • Error "CoreDAVHTTPStatusErrorDomain error 403"

    Hello, If I like to synchronize my contacts with the iCloud I just get an exclamation mark in a yellow triangle. If I click the triangle I get the message Der Vorgang konnte nicht abgeschlossen werden. (CoreDAVHTTPStatusErrorDomain-Fehler 403.) [tran

  • TS4268 My iMessage won't let me sign in

    I have updated to ios7 but my I message won't work because it won't sign in with my Apple ID. I have tried this I'd everywhere else and works fine. The error message comes up and say network connection, I have been connected to two routers and cellul

  • Profile tab in general setting

    hi. in my friend' ipad4, there is a profile tab(in general setting below vpn) which i dont have it. why? sina