how to insert flash html into my web site?

Discussion in 'HTML & Website Design' started by toraniz, Oct 9, 2009.

  1. #1
    Hi all ,
    I am not good and trying to insert a small flash file to my web site but when ever I do it
    the site is :
    http://www.eexpertbiz.com/bar/index.html
    what I want to do is to replace a small flash with the dog on the left site of top page.
    the css code "header" for the dog picture is as below ;

    <div id="header">
    <div id="head_right
    </div>

    could someone tell me how can I replace that dog picture with html flash code to show on my web site?
    thanks for any help.
     
    toraniz, Oct 9, 2009 IP
  2. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Try this:

    
    <object type="application/x-shockwave-flash" data="flashfile.swf" width="640" height="480">
    	<param name="movie" value="flashfile.swf">
    	<!-- place your alternate content here, such as an image file or a link to Adobe's Flash plugin page -->
    </object>
    
    Code (markup):
    Note that there are a few accessibility issues with this; for one it will attempt to play the Flash file regardless of Flash version so you'll need to use a container file that can detect the Flash version. There are a couple others, but I don't remember what they are off of the top of my head.
     
    Dan Schulz, Oct 9, 2009 IP
  3. toraniz

    toraniz Banned

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #3
    Thanks for your comment.
    I should say that I have no any problem to show my flash on my web site,
    the problem is when I inset my flash code into my web site then the web get mess up and design get messy.
    I need to know how and where shoud I insert it to replace the flash with that picture with the same size of dog on the left.
    here is the code of my flash:
    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
    codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,65,0"
    width="200"
    height="268"
    id="albume">
    <param name="movie" value="albume.swf">
    <param name="bgcolor" value="#FFFFFF">
    <embed src="albume.swf"
    width="200"
    height="268"
    quality="high" bgcolor="#FFFFFF" swLiveConnect="true"
    type="application/x-shockwave-flash"
    pluginspage="http://www.macromedia.com/go/getflashplayer"></embed>
    </object>
    please see the css file encluded.
    regards
     
    toraniz, Oct 9, 2009 IP
  4. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Why not just use the IMG element then?
     
    Dan Schulz, Oct 9, 2009 IP
  5. ihostx

    ihostx Peon

    Messages:
    16
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    To insert flash u cant use <img ...
     
    ihostx, Oct 10, 2009 IP
  6. Indisain

    Indisain Peon

    Messages:
    23
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    what html editor did you used? if you used dreamweaver it very easy to add.

    _______________________
    free vector download at: http://vectormadness.com
     
    Indisain, Oct 10, 2009 IP
  7. 6speed

    6speed Guest

    Messages:
    92
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #7


    Use this code above, it's W3C valid.
     
    6speed, Oct 10, 2009 IP
  8. Dan Schulz

    Dan Schulz Peon

    Messages:
    6,032
    Likes Received:
    437
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I meant instead of Flash. The only time I serve a logo as a background image is when I'm dealing with a singular document.
     
    Dan Schulz, Oct 10, 2009 IP
  9. navneetrai

    navneetrai Peon

    Messages:
    50
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #9
    if you know jquery you can use that to insert flash into your pages.. see google for "jquery flash"

    the advantage is that it will make sure of correct flash version and work in all browsers!
     
    navneetrai, Oct 10, 2009 IP
  10. calviin

    calviin Peon

    Messages:
    17
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Use SWFObject.

    code.google.com/p/swfobject/

    An easy-to-use and standards-friendly method to embed Flash content
     
    calviin, Oct 10, 2009 IP
  11. toraniz

    toraniz Banned

    Messages:
    43
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    91
    #11
    Thanks for all your comments and I will try all the above.
    Regards
     
    toraniz, Oct 11, 2009 IP
  12. forextrendalerts

    forextrendalerts Guest

    Messages:
    132
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Hi,

    I wish to thank you for the detailed tutorial on embedding my flash intro. Most appreciated.

    I found it hilarious reading the arguments about the benefits or not of a flash intro. I fully appreciate its limitations but just need it to temporarily introduce a design service.

    Presently, I am only having an information page with contact details and the flash intro would be in a way, a form of branding of what can be achieved by the company.

    And as someone rightly pointed out, there would be a skip button.

    When the design site is fully built with a portfolio page, there would not be a flash intro page.

    I like this forum and am glad I host with bluehost. Thanks all!
     
    forextrendalerts, Oct 12, 2009 IP