On 3/16/07, Aniesh joseph <[EMAIL PROTECTED]> wrote:
Hello

I download the zip file from  http://blog.deconcept.com. But it do not work.


     so.write("flashcontent");
</script>


 <div id="flashcontent">
  This text is replaced by the Flash movie.
 </div>


Regards
 Aniesh Joseph



haven't used swfobject in quite some time, so I'm not sure of the
internals or usage, but you may have to put the so.write call _after_
the flashcontent div is defined.  You can probably put it right after,
at the bottom of the page or use an onload event of some sorts to run
it after the page has loaded.

Try this:

<html>
   <head>
       <script type="text/javascript" src=" swfobject.js"></script>
       <script type="text/javascript">
           var so = new
SWFObject("images/upload/so_tester?clickTAG='http://www.biokerala.org?id=10'",
"mymovie", "468", "60", "7", "#336699");
           so.useExpressInstall('expressinstall.swf');
       </script>
       <title>Flash</title>
   </head>
   <body>
       <div id="flashcontent">
           This text is replaced by the Flash movie.
       </div>

       <script type="text/javascript">
           so.write("flashcontent");
       </script>
   </body>
</html>

Mark Armendariz
_______________________________________________
New York PHP Community Talk Mailing List
http://lists.nyphp.org/mailman/listinfo/talk

NYPHPCon 2006 Presentations Online
http://www.nyphpcon.com

Show Your Participation in New York PHP
http://www.nyphp.org/show_participation.php

Reply via email to