Hi,
I want to add a flash object to a .tpl file. But first i tested both
ways to embed falsh using SWFObject in a .html file and it worked fine
(code below) but when i try to do it on a .tpl file it doesn't work. I
have no idea how to solve this, please help! Thanks!

PS: I use Chrome.

<html>
        <head>
                <title>Embedding Flash Test</title>
                <script type="text/javascript" src="swfobject.js"></script>
                <script type="text/javascript">
                        swfobject.registerObject(
                                "flash",
                                "9.0.0",
                                "expressInstall.swf"
                        );
                </script>
        </head>
        <body>
                <object id="flash" classid="clsid:D27CDB6E-
AE6D-11cf-96B8-444553540000" width="100&" height="600">
                        <param name="movie" value="test.swf" />
                        <object type="application/x-shockwave-flash" 
data="test.swf"
width="100%" height="600">
                        <!--<![endif]-->
                        <p>Alternative content</p>
                        <!--[if !IE]>-->
                        </object>
                        <!--<![endif]-->
                </object>
        </body>
</html>


<html>
        <head>
                <title>Embedding Flash Test</title>
                <script type="text/javascript" src="swfobject.js"></script>
                <script type="text/javascript">
                        swfobject.embedSWF(
                                "test.swf",
                                "flashContent",
                                "100%",
                                "600",
                                "9.0.0",
                                "expressInstall.swf"
                        );
                </script>
        </head>
        <body>
                <div id="flashContent">
                        Flash content here.
                </div>
        </body>
</html>

-- 
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to