Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Content Editor Discussions /

Forum for content editors and CMS users.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Embedded swf file calling external xml does not work


Reply


2 Posts   1738 Views

Avatar
arachnid15

Community Member, 2 Posts

15 August 2010 at 2:16am

Edited: 15/08/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: [url]http://lace.lofranco.org/[/url]. The swf is embedded, but it doesn't seem to load the second swf file.

However if I call it directly.. [url]http://lace.lofranco.org/assets/flash/portfolio_loader.swf[/url] 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.

Avatar
Bambii7

Community Member, 254 Posts

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.