Current time: 02-23-2017, 09:12 AM Hello There, Guest! (LoginRegister)

swfobject not working
07-22-2010, 03:52 AM
Post: #1
swfobject not working

I have this code working perfect in my local machine but online it doesnt work..
am I doing something wrong?

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "">
<html xmlns="" xml:lang="en" lang="en">
        <meta http-equiv="content-type" content="text/html; charset=utf-8" />
        <link rel="StyleSheet" href="style/main.css" type="text/css" media="screen,print" />
        <script type="text/javascript" src="js/swfobject.js"></script>
        <script type="text/javascript" src="js/flashscaler.js"></script>
        <script type="text/javascript">
            var flashvars = {};
            var params = { scale: "noScale" };
            var attributes = {};
            function swfobjectCallback(e) {
                if (e.success==false){
            swfobject.embedSWF("index.swf", "flashmovie", "100%", "100%", "8", false, flashvars, params, attributes, swfobjectCallback);
        <div id="flashcontent">
            <div id="flashmovie">
                <p>We have detected that you do not have the Flash Player plugin required to view this website.</p>
                <p>Download the latest <a href="">Flash Player</a> for free! It takes just a few minutes to download and install.</p>
        <script type="text/javascript">
               scale = new FlashScaler("flashcontent",760,420);
Find all posts by this user

Messages In This Thread
swfobject not working - spasmo - 07-22-2010 03:52 AM
RE: swfobject not working - Andrew F - 07-22-2010, 08:24 AM

Forum Jump: