481 Posts in 150 Topics by 238 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1395 Views |
-
Embedded swf file calling external xml does not work

15 August 2010 at 2:16am Last edited: 15 August 2010 2:41am
Hi,
This is my first time incorporating flash into a silverstripe website. I'm trying to embed a swf file (portfolio_loader.swf) that calls another .swf file (portfolio.swf). The second swf files also uses an XML file to load images. I've uploaded all the necessary files into my assets folder.
I'm trying to embed it here: http://lace.lofranco.org/. The swf is embedded, but it doesn't seem to load the second swf file.
However if I call it directly.. http://lace.lofranco.org/assets/flash/portfolio_loader.swf it works fine.
I've used the following to embed it:
<object width="800" height="450" id="header" align="middle">
<param name="allowFullScreen" value="false" />
<param name="movie" value="http://lace.lofranco.org/assets/flash/portfolio_loader.swf" />
<param name="menu" value="false" />
<param name="quality" value="high" />
<param name="bgcolor" value="#2c2c39" />
<embed src="http://lace.lofranco.org/assets/flash/portfolio_loader.swf" menu="false" quality="high" bgcolor="#2c2c39" width="800" height="450" name="header" align="middle" allowFullScreen="false" type="application/x-shockwave-flash" pluginspage="http://www.adobe.com/go/getflashplayer" />
</object>Help would be very much appreciated.
Edit: Sorry.. this should have been posted in the general questions area. My mistake.
-
Re: Embedded swf file calling external xml does not work

18 August 2010 at 2:36pm
If you're putting that code into the wysiwyg editor, that'll strip most of the code out.
You could make a custom page type to allow a custom layout.ss file where you hard code it.
| 1395 Views | ||
|
Page:
1
|
Go to Top |


