document.write flash movie in Internet Explorer

Discussion in 'Javascript' started by Chuck, Nov 27, 2003.

  1. Chuck

    Chuck Guest

    I am coding a few cases in javascript where I need to send values to
    my flash file. Unfortunately I cannot get Internet Explorer (version
    6) to read my <param> tag which includes the flash file reference
    (code reference below). Is there another way to do this?

    Thanks!

    <OBJECT CLASSID=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000
    CODEBASE="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"
    WIDTH=100 HEIGHT=100 ID="test">

    <SCRIPT LANGUAGE="javascript">
    document.write('<PARAM NAME="movie" VALUE="/flash/test.swf">');
    </SCRIPT>

    </OBJECT>
    Chuck, Nov 27, 2003
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Jim Higson
    Replies:
    1
    Views:
    511
    Jim Higson
    Sep 21, 2004
  2. Ed Hauptman
    Replies:
    7
    Views:
    1,014
    Ed Hauptman
    Aug 7, 2009
  3. Replies:
    3
    Views:
    152
    Jambalaya
    Oct 12, 2005
  4. Replies:
    15
    Views:
    252
  5. Replies:
    3
    Views:
    134
Loading...

Share This Page