Custom Articulate SWF embed
Mar 26, 2013
Hi,
We have a client that is using Articulate 1.2 to produce SWF files to upload to their website. Rather than use the story.html we are embedding the SWF file within our own page so that we can check that the user accessing the SWF has an account on the website.
The website is able to load the story.swf file without problem but is unable to load story_content/data.swf as story.swf is loading it from a relative path. I've tried setting an absolute URL for flashdata within the meta.xml file with no success. Is there anyway to pass an absolute URL for data.swf to story.swf?
4 Replies
I believe this is hard coded into the swf file, could you not insert n iframe and load the story.html file
Using the "base" parameter will solve the problem
Example
<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,28,0" width="712" height="614" title="The Storyline Example">
<param name="movie" value="../foldername/StoryOutput/story.swf" />
<param name="quality" value="high" />
<param name="wmode" value="opaque" />
<param name="base" value="../foldername/StoryOutput/ " />
<embed src="../foldername/StoryOutput/story.swf" quality="high" wmode="opaque" base="../foldername/StoryOutput/" pluginspage="http://www.adobe.com/shockwave/download/download.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="712" height="614"></embed>
</object>
Hope this can help
Hi Richard and welcome to Heroes!
I'm glad that Phil and Nishan have been able to assist you here, and if you need anything else please let us know. Also, Nishan welcome to the Heroes community!
Thanks Ashley, the community is a VERY valuable resource !!!
This discussion is closed. You can start a new discussion or contact Articulate Support.