SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Enthusiast
    Join Date
    Mar 2000
    Location
    Montreal, Canada
    Posts
    48
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Hi
    I have just created a swf file and have tried to add it to my page. I use frontpage 2000 and inserted it as an active X, the HTML code is shown below. The .swf file is not showing in my page, is there a special way, or is there special code I must use. Please help.
    Scarlet
    ps. I am getting an error message when I try to view the page in both the external browser and preview within frontpage itself. The error says cannot open file because it is already open by another user who has write permission but everything on the page shows up exept the flash file.

    <td align="right" valign="top" width="514"
    bgcolor="#000000" height="57">
    <p align="left">
    <object classid="clsid:166B1BCA-3F9C-11CF-8075-444553540000" id="logotest.swf" width="455" height="57" align="left">
    <param name="BGCOLOR" value>
    <param name="swURL" value>
    <param name="swText" value>
    <param name="swForeColor" value>
    <param name="swBackColor" value>
    <param name="swFrame" value>
    <param name="swColor" value>
    <param name="swName" value>
    <param name="swPassword" value>
    <param name="swBanner" value>
    <param name="swSound" value>
    <param name="swVolume" value>
    <param name="swPreloadTime" value>
    <param name="swAudio" value>
    <param name="swList" value>
    <param name="sw1" value>
    <param name="sw2" value>
    <param name="sw3" value>
    <param name="sw4" value>
    <param name="sw5" value>
    <param name="sw6" value>
    <param name="sw7" value>
    <param name="sw8" value>
    <param name="sw9" value>
    <param name="SRC" value>
    <param name="AutoStart" value="1">
    <param name="Sound" value="1">
    </object>

    </td>


  2. #2
    SitePoint Addict
    Join Date
    Aug 2000
    Posts
    248
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Try this:

    <OBJECT classid="clsid:27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=4,0,0,0"
    ID=logotest WIDTH=455 HEIGHT=57>
    <PARAM NAME=movie VALUE="logotest.swf"> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#FFFFFF> <EMBED src="logotest.swf" quality=high bgcolor=#FFFFFF WIDTH=455 HEIGHT=57 TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash"></EMBED>
    </OBJECT>


    Insert that where you want the movie to show. Please note that the flash file with this code has to be within the same directory as the html file.

    Also don't insert it as an activex. In FP2000 simply goto insert/advanced/html


    [This message has been edited by alexming (edited August 22, 2000).]

    [Edited by alexming on 09-06-2000 at 05:48 AM]

  3. #3
    I'm baaaaaaaaaaaaack! Fluffykins's Avatar
    Join Date
    Aug 2000
    Location
    Manchester, UK
    Posts
    1,046
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Just as a quick add-on to Alex's post, which is exactly right, save my nitpickings...

    The swf file doesn't *have* to be in the same directory. It can live in a different one, just make sure you change all the src attributes of the EMBED and OBJECT tags to point to it.

    Here endeth my speil.
    v-technologies - Freelance Goodness.

  4. #4
    SitePoint Addict
    Join Date
    Aug 2000
    Posts
    248
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    nitpickings well taken and are 100% true


    Thanks for the input.



Bookmarks

Posting Permissions

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