Home > Downloads > Using flash on FCS
A newer version of this fact exists. (view)
Using flash on FCS
 
 

This file is used the following way:

 

1. Upload your flash animation on the platform as a DOWNLOAD (not an image)

 

2. In the fact you want to put your flash in write the following code:

 

<html>
<script type="text/javascript" src="http://fcs.kundenplattform.com/download/288647.1"></script>

<div id="flashanimation"></div>
<script type="text/javascript">
var so = new SWFObject("full_path_to_an_uploaded_flash_animation", "flashanimation", "wdith", "height", "flashversion_to_use");
so.addParam("menu", "false");
so.write("flashanimation");
</script>
</html>

 

Why using javascript and not <object> or <embed> tag? 

 

 

When using <object> tag in IE6 or later there is a border around the flash object and the flash object itself is not activated. In order to activate it you should click on it and after that interact with it which is quite annoing.

 

The javascript library that is uploaded here fixes exactly with this problem. It makes the object active when the page is loaded and saves quite a lot of writing.

 

 




Metainfo:
Author: ivo marinoff; Copyright: factline Webservices GmbH; Published by: Ivo Marinov (neo)
factID: 288647.2 (...history); published on 04 Apr. 2007 14:02