Thanks for your help.
The loaded SWF is a flex SWF, all built with the latest stable release. It uses mx:Image Yes, using Flex 4. Paths: To Air App: C:\Program Files\Xerte 3.5\AirTricks\AirTricks.exe which loads C:\Program Files\Xerte 3.5\AirTricks\AirTricks.swf To SWF: C:\x35\LearningObject.swf To image - it's in all these places, and it doesn't load. C:\x35\media\DSC_0095.JPG [where it really ought to load from, or be able to load from.] C:\Program Files\Xerte 3.5\AirTricks\media\DSC_0095.JPG [where you guys are telling me it should load from, but it doesn't] The relative path is media/DSC_0095.JPG If I execute C:\x35\LearningObject.swf it works fine. The application is an .mxml editor and compiler, which creates and edits mxml files, and compiles them. What I'm trying to do is load and preview the results in the application. Thanks, J From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Alex Harui Sent: 24 August 2010 18:41 To: flexcoders@yahoogroups.com Subject: Re: [flexcoders] Loading Images into a loaded SWF Is the loaded SWF a Flex SWF? Is it using SWFLoader/Image? Are you using Flex 4? What is the path to the AIR app, the SWF and the image and what are you using for a relative path? On 8/24/10 8:58 AM, "Julian Tenney" <julian.ten...@nottingham.ac.uk> wrote: No, when I move the folder into the air app folder, the image DEFINITELY does not load. So, WTF? From: flexcoders@yahoogroups.com [mailto:flexcod...@yahoogroups.com] On Behalf Of Keith Reinfeld Sent: 24 August 2010 14:29 To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Loading Images into a loaded SWF Once your SWF is loaded the path is relative to your Air app. Place a copy of your media folder and its contents accordingly. Regards, Keith Reinfeld Home Page: http://keithreinfeld.home.comcast.net <http://keithreinfeld.home.comcast.net/> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. -- Alex Harui Flex SDK Team Adobe System, Inc. http://blogs.adobe.com/aharui