Jump to:

521 Posts in 248 Topics by 263 members

Content Editor Discussions

SilverStripe Forums » Content Editor Discussions » Embedded swf file calling external xml does not work

Forum for content editors and CMS users.

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

Page: 1
Go to End
Author Topic: 1723 Views
  • arachnid15
    Community Member
    2 Posts

    Embedded swf file calling external xml does not work Link to this post


    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" />

    Help would be very much appreciated.

    Edit: Sorry.. this should have been posted in the general questions area. My mistake.

  • Bambii7
    Community Member
    254 Posts

    Re: Embedded swf file calling external xml does not work Link to this post

    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.

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.