Can't load an image in flash builder

Hi, I recently copied my project from one computer to another.  On my old computer, everything worked fine, but on my new computer, when it tries to load images, it gives me this error :
Error #2148: SWF file http://localhost/MyProject-debug/MyProject.swf/[[DYNAMIC]]/2 cannot access local resource file:///C:/assets/MyImage.jpg. Only local-with-filesystem and trusted local SWF files may access local resources.
But that's not where it gets REALLY frustrating.  So I changed the location of the image to a bin-debug folder in my project, and it doesn't give me an error anymore... it gives me a broken image icon instead.  The image looks fine in Flex Builder, but when I view it in my web browser, I get a broken image icon!  I know it's pointing to the right spot.  Any idea why this could be?

**having relative path would eliminate a lot of errors, else have complete path like Http://localhost:800 ...... shoud b mentioned for each and every image which is not usable.

Similar Messages

  • WHERE CAN I FIND or DOWNLOAD  ADOBE FLASH BUILDER 4.7 STANDARD?

    1 year ago I bought Adobe Flash Builder 4.7 Standard an i have license key. Installation files i lost. Creative Cloud contain Adobe Flash Builder 4.7 Premium, and does not contain Adobe Flash Builder 4.7 Standard. WHERE CAN I FIND or DOWNLOAD  ADOBE FLASH BUILDER 4.7 STANDARD?

    You can get all the PDF and Online Help files from the below link :
    http://blogs.adobe.com/premiereprotraining/2010/08/help-documents-for-creative-suite-5-pdf -and-html.html
    And yes, you can call the Local Help by pressing the F1 key but for that you need to have Adobe Help Manager(AIR application) installed.
    Open Adobe Help Manager->Go To General Settings->Select "Yes" under Display Local Help Content onlyand hit done.
    Launch CS6 application->Press F1 and it should open the pdf file instead of online help.

  • Why You Can't Load Some Images On Your 5th Generation ipod

    Why You Can't Load some images on your 5th Gen ipod.
    - OK here is the scoop: I could not load some images on my 5th gen ipod and yet other images would load no problemo. Images were JPEG, jpg, PSD (all approved image types for the 5th gen ipod)
    - After doing several tests like restoring the software on the ipod, reinstalling itunes I still could not find the problem, then I noticed as soon as I would open an image in Photoshop CS2/CS3 that was otherwise loading on the ipod no problemo, when I would save that same image in Photoshop the image would not load in my ipod.
    - So after playing with several settings in Photoshop I found the problem:
    -In Photoshop go to File handling:
    -Image Previews:
    - And click on:Never Save
    You do not want to save a photo with a "Image Preview" when saving any file type that you want to load on your 5th gen ipod. it would seem the ipod will not accept any images with a "Image Preview" embedded into the file, JPEG, PSD, jpg etc.
    I hope this will help some of you because I just waisted a whole day to find this out the hard way.
    Cheers,
    Mac Fans
    BTW I use a Mac Pro/Intel OSX Tiger 10.4.9

    Also I just found out when you are saving an image in Photoshop uncheck the " Embed Color Profile" box.
    So do not embed your images with a "Preview" and DO NOT embed a "Color Profile" when saving images in Photoshop or the images MAY not load on your ipod.
    Have Fun
    Message was edited by: MacPro77

  • I can't use my license key Flash Builder 4.5 with this release. Someone can help me ?

    I can't use my license key Flash Builder 4.5 with this release. Someone can help me ?

    Hi,
    Flash Builder 4.5 serial number will not work directy in Flash Builder 4.7. You can use FB 4.5 key in upgrade scenario (upgradation from FB 4.5 to FB 4.7).
    Please use the Flash Builder 4.7 serial number provided at http://www.adobe.com/cfusion/entitlement/index.cfm?e=labs_flashbuilder4-7  for serialing Flash Builder 4.7.
    -Mugdha

  • Loading purchased swf into Flash Builder 4 Flex app

    I have purchased a Flash "fundraising thermometer" from an online Flash components site. It takes input from an xml file and displays a thermometer with the goal at the top and the current amount raised indicated. It came with the following files:
    thermometer.swf
    thermometer01.fla
    thermometer01.html (A sample that works.)
    xml/thermometer.xml (The source file: goal amount, current amount, mark interval, etc.)
    caurina/transitions (Mostly .as files.)
    Since the test html (thermometer01.html) works fine, I thought this would be a no-brainer.
    I first unzipped the files into a "thermometer" folder in my current project. I then went into Flash Builder and created a SWFLoader object as follows:
    <mx:SWFLoader 
    id="myLoader" source="../thermometer/thermometer.swf" complete="initThermometer();" autoLoad="true" scaleContent="false"/>\
     private function initThermometer():void { 
         Alert.show('Thermometer loaded');
    The Design view looks fine. I can see the thermometer default image (see below).
    When I run the app, I get no errors, just a broken image link in a box (see below). The alert box also never shows up.
    I'm new to Flex, so I may be doing something stupid that keeps this from working. I contacted the author of the thermometer widget but he doesn't know anything about Flex.
    Any help figuring out how to get this to work in a flex app would be appreciated.

    You should probably add more event handlers to see what's going on.  Especially "ioError". The complete list is below.  For coverage, add a handler for each event. You can also use in MXML
         complete="initThermometer(event)
    and add an argument to your Actionscript method, to find out details about the event.
    private function initThermometer(event:Event):void { 
         Alert.show('Thermometer loaded ' + event.type);}
    Events
        complete="No default"
        httpStatus="No default"
        init="No default"
        ioError="No default"
        open="No default"
        progress="No default"
        securityError="No default"
        unload="No default
    General info here:
         http://livedocs.adobe.com/flex/3/langref/mx/controls/SWFLoader.html
    I did not test my code suggestions, but it's probably close.

  • Strange problem in loading swf created in Flash Builder 4 !

    Hi
    I am facing a strange issue in all my flash builder projects.
    Here is a sample flex 4 project: http://flashvisions.com/demos/flexdemo/
    you will see when it loads, it showes the first progressbar as grey and then the next one covering it as per flex4's new preloader mechanism. The example given above is a new flex project, without any code. It shows the first preloader then hangs on that for quiet some time  without any indication that anything is happening. Then it shows the second phaze of preloader after some time. This is happening to all my Flash builder projects.
    can some one suggest anything ? If possible watch this link to a medium bandwidth, not too high : http://flashvisions.com/demos/flexdemo/

    And this for 1.5:
    "In Flex or Flash, a loaded SWF takes on the FrameRate of the
    parent SWF. In flex you can set the framerate value for the main
    application with "framerate" attribute in the
    <mx:Application> tag."
    Tracy

  • Load Random Image in Flash?

    I've googled it and searched this forum. No luck.
    Does anybody know how to load a random image in flash. Like
    on a welcome screen (i.e. the first thing that shows up in my
    timeline with a stop command on it)
    I tried this:
    http://www.kirupa.com/developer/mx/loadingrandombackground.htm
    but can't do this where you are supposed to paste the code in
    Actions: "Now, look at your timeline. Right click on a blank
    keyframe in the timeline and select Actions. Copy and paste the
    following code: "
    seems like i have to add something first like adding a
    behavior like "goto URL" or "stop" or "goto frame" if you know what
    i mean.
    what do i click on???????????????????? to add this code into
    Actions.
    Thanx.

    let say you have 20 images file in jpg format, all at the
    same directory with your flash file, with file name as below:
    pic1.jpg
    pic2.jpg
    pic20.jpg
    in your flash, select the frame which you wan to load a
    random image, type script below:
    num = Math.ceil(10*Math.random());
    filename = "pic" + num + ".jpg";
    _root.createEmptyMovieClip("pic_mc", 1);
    loadMovie(filename, "pic_mc");
    //good luck

  • Invalid Launch Image in Flash Builder 4.6

    I've been making updates and releases to my iPad app for the last several months, but just recently, I started receiving this email back from Apple:
         iPhone 5 Optimization Requirement - Your binary is not optimized for iPhone 5. As of May 1, all new iPhone apps and app updates submitted must support the 4-inch display on iPhone 5. All           apps must include a launch image of the appropriate size. Learn more about iPhone 5 support by reviewing the iOS Human Interface Guidelines.
    I've been googling this for a while, and have tried adding  Default.png (320x480), Default-586h.png (640x960), and [email protected] (640x960) files to the root directory and made sure they were being compiled into the .ipa file.  With the [email protected] file, I received an additional error in the nastygram from Apple:
         Invalid Launch Image - Your app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later.
    So I took out the @2x file and it still failed.  Now, my app isn't even intended for the iPhone5, it's intended for the iPad.  What can I do to make them happy so I can keep making releases?

    These are the errors tackled with this post:
    iPhone 5 Optimization Requirement - Your binary is not optimized for iPhone 5. As of May 1, all new iPhone apps and app updates submitted must support the 4-inch display on iPhone 5. All apps must include a launch image with the -568h size modifier immediately following the <basename> portion of the launch image's filename. Launch images must be PNG files and located at the top-level of your bundle, or provided within each .lproj folder if you localize your launch images. Learn more about iPhone 5 support and app launch images by reviewing the iOS Human Interface Guidelines and iOS App Programming Guide.
    Invalid Launch Image - Your app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later.
    Non-PIE Binary - The executable 'C-Print Mobile.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables. For more information, refer to Technical Q&A QA1788 - Building a Position Independent Executable
    I followed these steps to get my app .ipa to the point where Apple would accept it:
    Download the latest AIR SDK. My Flash Builder was using the AIR SDK 3.6. From within Flash Builder I clicked "Check for updates..." and Flash Builder said it was up-to-date. BUT when checked the AIR SDK website, there in fact was a newer version. So you may need to update, even if Flash Builder says otherwise. To check, go to Windows -> Preferences -> Installed AIR SDKs. If you have AIR SDK 3.6 or less, you need to update.
    The latest SDK can be downloaded here:
    http://www.adobe.com/devnet/air/air-sdk-download.html
    IMPORTANT: If you are building a Flex project (that was my situation), you will need to download the SDK without the compiler. This will be under the "Note: Flex users will need to download the original AIR SDK without the new compiler." section.
    Install the downloaded SDK. The instructions are different for Flex projects and ActionScript projects.
    Flex: http://helpx.adobe.com/x-productkb/multi/how-overlay-air-sdk-flex-sdk.html
    ActionScript: http://helpx.adobe.com/flash-builder/kb/overlay-air-sdk-flash-builder.html
    Reference the correct version in your app.xml file. My app was using AIR SDK 3.1, which is very old. As of this writing, I'm now using:<application xmlns="http://ns.adobe.com/air/application/3.7">
    Include a splash screen image called [email protected] in the top-most level of your source. This file must be 640x1136 (width x height), and is required for iPhone 5 devices.
    Read the following forum thread about the Non-PIE Binary issue. As of this writing, it is being regarded as "not a big deal", but Apple may become more strict about this in the future.http://forums.adobe.com/message/5281575
    Best of luck. If these steps work for you, let me, and others, know here in the forums!

  • Can't import an Image into flash

    When I tyr to import an Image onto Adobe Flash CS5, the image is balnk with grey outlines.
    Same thing happens when I try and copy and paste a image onto flash.

    I have created a dad on 9.0.3, and the import works. The dad in both are identical to what I can see. The 10gAS Apache logs has a preceding error message, here is the complete error messesages generated by the 10gAS Apache server when I try to import an application :
    [Mon Jun 13 08:58:13 2005] [warn] [client 172.22.101.206] [ecid: 1118671093:172.23.5.52:11116:0:1608,0] mod_plsql: DMS Logging: Unable to open/create /modplsql.lck
    [Mon Jun 13 08:58:13 2005] [error] [client 172.22.101.206] [ecid: 1118671093:172.23.5.52:11116:0:1608,0] mod_plsql: /astech/wwv_flow.accept
    HTTP-404 ORA-00904: "CONTENT": invalid identifier
    I have searched metalink for anyting on the "modplsql.lck" error and have not found anything.

  • Can I develop CF projects using Flash Builder 4.5 for PHP?

    I currently develop CF projects using Flash Builder 4.5.  I am considering purchasing Flash Builder 4.5 for PHP.  Will I still be able to work on my CF projects using FB for PHP?

    Because in the installation instructions for FB for PHP it says that you have to uninstall the current installation of FB which I have several CF projects that I use regularly.  I hate to uninstall if it turns out that I can't transport my current projects into FB for PHP. 
    Oh that sux!  It's just an Eclipse plug-in, and one can have installed multiple installs of Eclipse OK, so I wonder why they're said this?
    OK, because I give suck advice, I'll D/L it and install it on a spare machine and take a look.  FB usually has a CF perspective does it?  So what you need to know is whether FB for PHP still has the CF perspective?
    Or are you asking whether you can install CFB (or CFEclipse) as a plug-in to FB for PHP, like one can with FB?
    Sorry about the bad advice.
    Adam

  • Can't export zxp file with Flash Builder, CSExtensionBuilder

    Dear all
    I write Create Suite Extension project. I build this project success. It's output swf file.
    I want to export to .zxp file to connect with IA Plugin.
    In my Project. I do these steps:
    1. Select Export => Adoble Creative Suite Extension Builder=>Creative Suite Extension and click "Next" button
    2. Browe Certificate, type password and click "Finish". Have progress panel show and visible.
    But no file in Export Directory.
    My enviroment is:
    WinXPSP3
    Flash Builder 4.7 trial
    CSExtension 2
    IIlustrator CS6
    Adobe Extension Manager CS6
    What's wrong ?
    Could you have other ideal for me.

    I try to use
    WinXPSP3
    Flash Builder 4.6 trial
    CSExtension 2
    IIlustrator CS6
    Adobe Extension Manager CS6
    My project can export zxp file success.
    But I can't run and debug my project with Flash Builder4.6.
    Do you have same problem,

  • How can i load a image into a midlet?

    Hi, i placed the png file together wif the midlet in the src directory.
    Image img = Image.createImage("title.png");
    I tried the above code but when i try to load the image in got this error
    Failed loading image.
    anione can help?

    just place your file in /res/ directory not in /src/

  • IWeb 09, Pages 09, and Keynote 09 can't load iPhoto images in media browser

    Ever since yesterday, my iWeb 09, Pages 09, and Keynote 09 have been experiencing problems loading iPhoto 09 images in the media browser. I have no problems loading my audio files, movie files, and widgets, but when it comes to iPhoto picture files, the system just hangs. Luckily, it doesn't crash; it just says "Loading iPhoto images" forever.
    I'm guessing that the problem is with iPhoto 09, because the media browser has no problems loading my Aperture picture files.
    Does anyone have any ideas how I can get iWeb, Pages, and Keynote to load my iPhoto pics in the media browser?
    Thanks!

    1. Quit iPhoto.
    2. Go to your Pictures Folder (or where ever you have your Library) and find the iPhoto Library there (Your Donor Library).
    3. Right Click on it, and from the resulting menu select ‘Show Package Contents’. A Finder window will open and the Library will be exposed.
    4. Find the following files
    AlbumData.xml
    AlbumData2.xml
    and move them to the desktop.
    5. Close up the Library and restart iPhoto. This will force iPhoto to rebuild those files which are key to sharing.
    Then restart the other apps and see does that help.
    By the way: where is your Library? On the Start Up Disk? On an external?
    Regards
    TD

  • Load a image in flash format

    Hi all,
    Does anyone know how to load a image from a file (in .swf format) to the java.awt.Image object. If anybody knows how to do this plzzzz help me to get rid of this damn thing.
    With regards
    Nuwan

    let say you have 20 images file in jpg format, all at the
    same directory with your flash file, with file name as below:
    pic1.jpg
    pic2.jpg
    pic20.jpg
    in your flash, select the frame which you wan to load a
    random image, type script below:
    num = Math.ceil(10*Math.random());
    filename = "pic" + num + ".jpg";
    _root.createEmptyMovieClip("pic_mc", 1);
    loadMovie(filename, "pic_mc");
    //good luck

  • How to load tiff image in flash 8

    hi all
    Is it possible to load a tiff image in flash 8. i am creating
    a flash image viewer using ASPX and Flash ... and i need to load a
    tiff images but flash is not supporting to load a tiff images. is
    there is any way to do this...
    thanks in advance
    Sankar

    Thanks FlashTastic
    Any other way to Load tiff into flash using third party
    tools....if its so please send me link or files to me..
    Thanks and Regards
    Sankar

Maybe you are looking for