Announcement

Collapse
No announcement yet.

.swf file extension

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    .swf file extension

    I have a .swf file i would like to add to a pop up page where you put a image.
    any one any ideas how to do this.

    Thanks
    Mike

    #2
    You need to insert an HTML object tag with the correct info for the filetype and the plug in - here is an example for .mov and .wav files - shamelessly copied from the wdg help files.
    Code:
    <OBJECT DATA="mlk.mov" TYPE="video/quicktime" TITLE="Martin Luther King's &quot;I Have a Dream&quot; speech" WIDTH=150 HEIGHT=150>
    <PARAM NAME=pluginspage VALUE="http://quicktime.apple.com/">
    <PARAM NAME=autoplay VALUE=true>
    <OBJECT DATA="mlk.wav" TYPE="audio/x-wav" TITLE="Martin Luther King's &quot;I Have a Dream&quot; speech">
    <PARAM NAME=autostart VALUE=true>
    <PARAM NAME=hidden VALUE=true>
    <A HREF="mlk.html">Full text of Martin Luther King's "I Have a Dream" speech</A>
    </OBJECT>
    </OBJECT>
    Bill
    www.egyptianwonders.co.uk
    Text directoryWorldwide Actinic(TM) shops
    BC Ness Solutions Support services, custom software
    Registered Microsoft™ Partner (ISV)
    VoIP UK: 0131 208 0605
    Located: Alexandria, EGYPT

    Comment


      #3
      Below is an example which should work for you. Change the width and height variables to what you need. Change test.swf to your swf file and make sure it is in the same directory as the calling page, or make sure you put in the path in the html eg /acatalog/images or whatever you use.

      <object codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,0,0" width="550"

      height="400" id="flash/test" align="middle">
      <param name="allowScriptAccess" value="sameDomain" />
      <param name="movie" value="test.swf" />
      <param name="quality" value="high" />
      <param name="bgcolor" value="#ffffff" />
      <embed src="test.swf" quality="high" bgcolor="#ffffff" width="550" height="400" name="flash/test" align="middle"

      allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer"

      />
      </object>
      Then enjoy
      "There is do and there is not do, there is no try" Yoda

      Comment

      Working...
      X