Correct way to document.write a flash movie??? A workaround for the IE active content

Ask a Question related to Macromedia Dynamic HTML, Design and Development.

  1. #1

    Default Correct way to document.write a flash movie??? A workaround for the IE active content

    Hey all,
    Ive been told to try a javascript document.write solution for the IE active
    content issue.

    I am trying:

    <script type="text/javascript" language="javascript">
    document.write('<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    rsion=7,0,19,0" width="785" height="330">');
    document.write('<param name="movie"
    value="images/final_portfolio.swf?'+<%response.write qs%>+'">');
    document.write('<param name="quality" value="high">');
    document.write('<embed src="images/final_portfolio.swf?'+<%response.write
    qs%>+'" quality="high"
    pluginspage="http://www.macromedia.com/go/getflashplayer"
    type="application/x-shockwave-flash" width="785" height="330"></embed>
    </object>')
    </script>


    But obviously I am not writing it incorrectly as I dont get anything on
    screen. I have also tried setting it in a function and calling the function,
    what am I doing wrong there? Im no JS expert.

    Any help would be great.

    complexity Guest

  2. Similar Questions and Discussions

    1. Active Content - Flash - fix for Contribute Users
      Greetings, I have a group of users that use Contribute. Many of these users create Flash Paper forms and embed them in a standard template. These...
    2. Active Content for <cfform> in Flash format
      I have use <cfform> to generate flash forms. When the pages display these forms they are locked with the "Click to activate this control" message....
    3. dreamweaver 8 active content work around for flash withCFM
      thanks to the IE update, some of us including myself are still trying to catch up on this topic and the revisions required to make our sites work...
    4. viewing flash nested in CFIF with active content workaround
      thanks to the IE update, some of us including myself are still trying to catch up on this topic and the revisions required to make our sites work...
    5. Problem with Active X Workaround
      Greets, Using Adobe's javascript workaround for Microsoft's "Click to Activate" Active X issue. PROBLEM: For any floating ads using "wmode"...
  3. #2

    Default Re: Correct way to document.write a flash movie??? A work around for the IE active content

    [url]http://blog.deconcept.com/2005/03/31/proper-flash-embedding-flashobject-best-practices[/url]


    --
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    [url]http://www.dreamweavermx-templates.com[/url] - Template Triage!
    [url]http://www.projectseven.com/go[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.dwfaq.com[/url] - DW FAQs, Tutorials & Resources
    [url]http://www.macromedia.com/support/search/[/url] - Macromedia (MM) Technotes
    ==================


    "complexity" <webforumsuser@macromedia.com> wrote in message
    news:e7firl$iie$1@forums.macromedia.com...
    > Hey all,
    > Ive been told to try a javascript document.write solution for the IE
    > active
    > content issue.
    >
    > I am trying:
    >
    > <script type="text/javascript" language="javascript">
    > document.write('<object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
    > codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#ve
    > rsion=7,0,19,0" width="785" height="330">');
    > document.write('<param name="movie"
    > value="images/final_portfolio.swf?'+<%response.write qs%>+'">');
    > document.write('<param name="quality" value="high">');
    > document.write('<embed src="images/final_portfolio.swf?'+<%response.write
    > qs%>+'" quality="high"
    > pluginspage="http://www.macromedia.com/go/getflashplayer"
    > type="application/x-shockwave-flash" width="785" height="330"></embed>
    > </object>')
    > </script>
    >
    >
    > But obviously I am not writing it incorrectly as I dont get anything on
    > screen. I have also tried setting it in a function and calling the
    > function,
    > what am I doing wrong there? Im no JS expert.
    >
    > Any help would be great.
    >

    Murray *ACE* Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139