PDA

View Full Version : Trying to use flash which load XML


pgrimpo
04-08-2006, 08:00 PM
I have a flash animation I use on my website which loads an XML file which references a folder of images. The images then dissolve, etc. The problem I'm having is converting this for use in AMS. I have the Flash folder which contains the .SWF, the .XML and the .JPG files. However, I'm not getting the SWF to reference the XML or something. I set up the following:

Flash.SetFlashVariable("Flash1", "FlashVars", "xmlFile=Room211.xml&progressColor=0xfe9901");

As the HTML version looks like this:

<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="183" height="137" id="Room211" align="middle">
<param name="FlashVars" value="xmlFile=/Client_Custom_Apps/Room211/Room211.xml&progressColor=0xfe9901" />
<param name="movie" value="/Client_Custom_Apps/Room211/slideshow.swf" />
<param name="quality" value="best" />
<param name="scale" value="noscale" />
<param name="bgcolor" value="#fe9901" />

Do you have any ideas on how I might get this to work properly?

Thanks!

srussell
04-08-2006, 08:36 PM
I've seen this before ... If I understand the problem, it works fine on the web, but doesn't play locally?

Try changing the Flash parms to reference a local file... That should work

"..\..\slideshow.swf"
"..\..\Room211.xml"

playmenow
04-09-2006, 12:49 AM
no, no. He means adding it in AMS. Hmmm....I never tested this before, so, is it possibile for you to upload or attach what you have tried so far? (AMS exported project) Thank you

RobertB
01-11-2007, 09:24 PM
Did you ever figure this out? I am trying to now....