Community & Support

Problem with FlashXML.net component

Has anybody encounter this before?

An image speaks more than words so let me show you:

I created this page:

http://www.fsbcomputers.com/node/33

It's supposed to have this flash showing on it:

http://www.fsbcomputers.com/carousel/carousel_gallery.swf

The SWF file loads in both cases, for the page it doesn't find the images, but for the SWF file everything looks like it works perfectly fine.

I think it has to do with the paths and the way Drupal assign the paths to pages.

If anybody has an idea, I'd appreciate it.

Comments

Path problem

I got an email from the people of flashxml and they say this problem occurs when the path is not right, so I think it is the way Drupal works with path, but they think they can help me fix it, when I have more info I'll post it, in the mean time the links are disabled.

I used a direct embeding

I used a direct embeding method and then pass the xml file for the images as a flash var...

I wrote a little function which generates the flashvars called generate_flashvars()

The files xml file I built by using a view with the views_bonus pack using XML output.

I also wrote a module config page for the other flash vars. Hopefully I will have a contrib module up sometime after I have finnished writing a view style plugin. And proper embedding code.

<object classid="clsid27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0" width="600" height="400" id="carousel" align="middle">
<param name="allowScriptAccess" value="sameDomain" />   
<param name="allowFullScreen" value="false" />   
<param name="quality" value="high" />   
<param name="bgcolor" value="#ffffff" />   
<param name="scale" value="noscale" />   
<param name="salign" value="tl" />   
<param name="movie" value="banner.swf" />
<param name="FlashVars" value="imagesXML=/flashxml.xml&thumbWidth=135&backgroundColor=0&<?php print generate_flashvars(); ?>" />

<embed src="/sites/pong.localhost/files/carousel.swf" width="600" height="400" bgcolor="#ffffff" name="carousel" quality="high" scale="noscale" and salign="tl" align="middle" allowScriptAccess="sameDomain" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" FlashVars="imagesXML=/flashxml.xml&backgroundColor=0&<?php print generate_flashvars(); ?>" ></embed>
</object>

Hope this helps.

Artificial Intelligence is no match against Natural Stupidity

Problem with FlashXML ...

Adding a flashvar for the folder path worked for me, but not in IE?!?!?

flashvars.folderPath = "my_path";

Here is the post on the FlashXML.net web site:
http://bit.ly/fIGkI9