A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Pasting Flash into HTML Code

  1. #1
    Junior Member
    Join Date
    Oct 2002
    Ottawa, Ontario, Canada

    Pasting Flash into HTML Code

    I don't know how dumb this will sound but I'm a very new user to this whole flash thing. I found a flash clip from this site that I want to use, how can I get it to work on my site? Can I past the code into the html somewhere?? Also, I tried pasting some dhtml code for a scrolling text script into my html and it seemed to have removed most of my content, from the logo do pretty much all the text that I put in, the only thing that was left was a banner and the footnotes. What am I doing wrong there?? Can anyone help me??



  2. #2
    Senior Member
    Join Date
    Apr 2000
    Northern Ireland
    I hope you asked permission of the owner of the SWF before you used it in your site ...

    You need to paste <OBJECT> and <EMBED> tags for a SWF to work in HTML. Here's an example of the tags from a SWF in my own site ...
    <OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
     WIDTH="120" HEIGHT="400" id="dropMenu03" ALIGN="">
     <PARAM NAME=movie VALUE="dropMenu03.swf">
     <PARAM NAME=quality VALUE=high>
     <PARAM NAME=scale VALUE=exactfit>
    <EMBED src="dropMenu03.swf" quality=high scale=exactfit bgcolor=#FFFFFF  WIDTH="120" HEIGHT="400" NAME="dropMenu03" ALIGN=""
     TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>
    The parameters will change from movie to movie, so I suggest you use the code from the HTML page that you got the SWF from ... BUT MAKE SURE YOU ASK THE AUTHOR'S PERMISSION FIRST!
    "Build a man a fire, and he'll be warm for a day. Set a man on fire, and he'll be warm for the rest of his life." TERRY PRATCHETT

  3. #3
    Junior Member
    Join Date
    Oct 2002
    Ottawa, Ontario, Canada

    Pasting Flash into HTML

    Thanks for the info! The SWF that I got is from www.flashkit.com, they give you the code there for you to use for free as long as you add a link on your website for them. Check it out!

    Thanks again!


Posting Permissions

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

Click Here to Expand Forum to Full Width

HTML5 Development Center