Select to view content in your preferred language

Embedding .swf files

596
1
04-30-2011 12:13 PM
NicholasFordes
Emerging Contributor
I am trying to load a tutorial video into my splash screen for users to view.

I have created it in Adobe Captivate and published as a .swf file.

What code can I enter in the splash config to pull this up as an embedded or linked media?
Tags (2)
0 Kudos
1 Reply
AlexJones
Emerging Contributor
You can add an href tag to hyperlink to the swf/html. This is assuming the swf would be its own application(have a unique URL).

<a href="http://yoursite/swfpath/swffile.html" target='_blank'><font color="#FFFFFF"><b>Hey! view my swf page</b></font></a>

I believe that captivate exports to a project and gives you the html if you want it. I could be wrong I only did the 30 day trial about year ago.

If you want to embed it inside the splash page then look at Roberts code:
http://www.arcgis.com/home/item.html?id=8492794bf5bf4358bca6cce29db31b14

He modifies the splash page which would be a good start and then you could use SWFloader inside the SplashTitleWindow.
http://help.adobe.com/en_US/FlashPlatform/reference/actionscript/3/mx/controls/SWFLoader.html

<mx:SWFLoader id="swfload" source="assets/yourswf.swf"/>
0 Kudos