Problem with flash header

Discussion in 'HTML & Website Design' started by TheMinder, Jan 28, 2011.

  1. #1
    Hello everyone,
    I have a flash banner (.swf) and I want to add h2 tag above it.
    Right now, the flash banner hide the h2 tag.
    I want you will see the h2 and under the h2 you will see the flash header.

    How I can do it?
    Thank you.
     
    TheMinder, Jan 28, 2011 IP
  2. radiant_luv

    radiant_luv Peon

    Messages:
    1,327
    Likes Received:
    34
    Best Answers:
    1
    Trophy Points:
    0
    #2
    Try parameter wmode=transparent
     
    Last edited: Jan 28, 2011
    radiant_luv, Jan 28, 2011 IP
  3. webcosmo

    webcosmo Notable Member

    Messages:
    5,840
    Likes Received:
    153
    Best Answers:
    2
    Trophy Points:
    255
    #3
    you need to do these:
    1. Add the following parameter to the OBJECT tag:

    <param name="wmode" value="transparent">

    2. Add the following parameter to the EMBED tag:

    wmode="transparent"
     
    webcosmo, Jan 28, 2011 IP
  4. TheMinder

    TheMinder Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Can you explain it by showing me where to add parameter in the code?
    this is the code:

    <script type="text/javascript" src="flashobject.js"></script>

    <div id="flashcontent" style="width: 952px; height: 254px"></div>

    <script type="text/javascript">
    var fo = new FlashObject("flasheader.swf", "animationName", "952", "254", "8", "#FFFFFF");
    fo.addParam("allowScriptAccess", "sameDomain");
    fo.addParam("quality", "high");
    fo.addParam("scale", "noscale");
    fo.addParam("loop", "false");
    fo.write("flashcontent");

    </script>
     
    TheMinder, Jan 28, 2011 IP
  5. radiant_luv

    radiant_luv Peon

    Messages:
    1,327
    Likes Received:
    34
    Best Answers:
    1
    Trophy Points:
    0
    #5
    fo.addParam("wmode", "transparent");
    Code (markup):
     
    radiant_luv, Jan 28, 2011 IP
  6. TheMinder

    TheMinder Peon

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Thank you, it works!
     
    TheMinder, Jan 29, 2011 IP
  7. kevin.truong

    kevin.truong Peon

    Messages:
    161
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    Thank you for answer , i have the same question too
     
    kevin.truong, Jan 30, 2011 IP
  8. xoe95

    xoe95 Peon

    Messages:
    2
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    I have an error in the flasheader that when you click in the logotype dont work the link to go the homepage, enclose my code if someone can say to me that is configured badly:
    <h1 id="logo" style="width:100%; margin-top:-10px">
                   	 <div id="flashcontentv" align="center">
    		<strong>You need to upgrade your Flash Player</strong>
    		This is replaced by the Flash content...<code>noscript</code> 
    		tags. Include a link to <a href="expressinstall.html?detectflash=false">bypass the detection</a> if you wish.
    PHP:
    Is necessary change expressinstall.html?detectflash=false for other code as my website link?
    Regards
     
    xoe95, Jan 30, 2011 IP