Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 01-23-2007, 01:51 PM   #1
Registered User
Join Date: Aug 2006
Posts: 27
Default Images not loading from XML into SWF

So here is my situation:

I have index.html and then I have a folder "flash" that contains my swf, xml, and my images. When I load the swf inside index.html the swf loads, the variables in my xml load but the path to the images do not. If I take the images out of the flash folder and put them on the same level as index.html they work fine but I want to keep everything together.

Here is a sample of my xml:
      <caption>Original Photo</caption>
Anyone have any ideas?
roscoedesign is offline   Reply With Quote
Old 01-24-2007, 05:48 PM   #2
Senior Member
cmbarsotti's Avatar
Join Date: Dec 2003
Location: Kansas City, MO
Posts: 298

The Flash is looking from the location of the HTML file, not the SWF file. Are you trying to load images/block1_image01.jpg ? You need to load flash/images/block1_image01.jpg
Michael [the idiot] Barsotti
cmbarsotti is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
loading all images in subfolder iznogud ActionScript 2.0 5 03-14-2005 07:16 PM
loading external images into array geminity ActionScript 2.0 0 02-14-2005 06:27 PM
problems loading images dynamically JonG717 ActionScript 2.0 6 02-05-2005 08:39 PM
efficiently loading many images hewwolff ActionScript 2.0 1 01-19-2005 06:47 PM
problem loading external images robotron ActionScript 1.0 (and below) 9 06-15-2004 03:10 PM

All times are GMT. The time now is 04:45 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.