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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Content Editor Discussions /

Forum for content editors and CMS users.

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

Embedded swf file calling external xml does not work


Go to End


2 Posts   3062 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: 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.

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.