Sākums > Lejupielādes > Using flash on FCS

Using flash on FCS
 
Fails: swfobject.js (Izmērs: 7.70 kb)
 

This file is used the following way:

 

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

 

2. Create then a new fact or open the fact you need to embed flash into in edit mode.

 

3. Switch to html mode:

tinymce2html - 1460701.1

 

4. In the text area put in the following code:

 

<html>
<script type="text/javascript" src="http://platform.factlink.net/download/288647.0"></script>

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

 

full_path_to_an_uploaded_flash_animation - This shouold be the full path of your uploaded flash animation which can be either an external link like:  http://yourdomain.com/my_flash_file.swf  or uploaded file on your platform like: http://platform_domain.com/download/288647.0 <- infoID of the fact

 

wdith - the width of your flash animation

height - the eight of your flash animation

 

All "full_path_to_an_uploaded_flash_animation", "wdith", "height" are mandatory to be changed!

 

If you would like to use more than 1 flash animations in 1 fact copy this code as much times as needed BUT MAKE SURE flashanimation word is different for each flash fine you have:

 

<html>

 

<!-- FLASH ANIMATION 1: -->

 


<script type="text/javascript" src="http://platform.factlink.net/download/288647.0"></script>

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

 

<!-- FLASH ANIMATION 2: -->

 


<script type="text/javascript" src="http://platform.factlink.net/download/288647.0"></script>

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

 

</html>

 

We recommend that you put each flash animation in separate fact and then make a Create factinclude 

 

 

 

 



 




Metainfo:
Autors: ivo marinoff; Copyright: factline Webservices GmbH; Publicēja: Ivo Marinov (factline3)
infoID: 288647.5 (...Arhīvs); Publicēts 22 Apr. 2010 13:53