Hello,
I'm not sure, but I hope this topic is new.
When I add a flash movie by using the Flash Properties view (Preview), the film is not shown in the Internet Explorer posting.php?mode=post&f=5&sid=0eabe53e3db27e053f3afca8d26c2017#
(in Firefox it works fine). A look at the html source shows, that flash-objects are embedded with using the tag <embed></embed>. As far as I know, this method doesn't work for the IE (Eolas Patent). So I searched for a solution that supports the embedding of flash movies for IE and Firefox. The best way I found is the following code:
<script type="text/javascript" src="swfobject.js"></script>
<div id="flashcontent">
This text is replaced by the Flash movie.
</div>
<script type="text/javascript">
var so = new SWFObject("movie.swf", "mymovie", "200", "100", "7", "#ffffff");
so.write("flashcontent");
</script>
#swfobject.js - external javascript file
# swf - The file path and name to your swf file.
# id - The ID of your object or embed tag. The embed tag will also have this value set as it's name attribute for files that take advantage of swliveconnect.
# width - The width of your Flash movie.
# height - The height of your Flash movie.
# version - The required player version for your Flash content. This can be a string in the format of 'majorVersion.minorVersion.revision'. An example would be: "6.0.65". Or you can just require the major version, such as "6".
# background-color - This is the hex value of the background color of your Flash movie
Here is my question: How can I integrate this code in the FCKeditor- environment. I am a newbie in javascript, so it isn’t easy for me to manipulate the source code correctly. I know, that the embedded- Tag is created in editor/dialog/fck_flash/fck_flash.js, but I don’t know, how to change this file. Thanks for your answer(s).
Tue, 11/06/2007 - 16:00
#1