• I have read so many of the posts about getting flash into the header, and I still don’t understand what to do with my file.

    It is located here.

    I need it to display in place of the header image here.

    I tried replacing the path for the image in the CSS with the path to the SWF (didn’t work), and tried using the SWFObject plugin’s code in teh same spot (didn’t work), and the Kimbli plugin (didn’t work).

    Can someone help? I think I have all the pieces, I’m just not sure where to put them. The flash designer also gave me this code in case I needed it.

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="https://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="802" height="102">
      <param name="movie" value="ALTER_THIS_TO_MATCH_THE_NAME_AND_LOCATION.SWF" />
      <param name="quality" value="high" />
      <embed src="ALTER_THIS_TO_MATCH_THE_NAME_AND_LOCATION.SWF" quality="high" pluginspage="https://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="802" height="102"></embed>
    </object>
Viewing 7 replies - 1 through 7 (of 7 total)
  • Your going to need to edit header.php in your theme directory.
    You probably need to replace the following code (found in header.php) and replace it with the block you referenced above.

    <div id="branding" class="left" onclick="location.href='https://stopcrime.org/wordpress';" style="cursor: pointer;">
        <div class="blogtitle" ><a href="https://stopcrime.org/wordpress/">
                </a></div>
        <div class="description">
              </div>
      </div>
      <div class="right">
    
      </div>
    Thread Starter Angie Meeker

    (@ameeker)

    FREAKING AWESOME!! That totally worked – now I just need to get the flash file to be the correct size and I’m done!!

    WOO HOO!!

    change width=”802″ to width=”875″ in the OBJECT code that your designer gave you. That may not be exact, but that will get you close enough to play around with it on your own.

    Hi Ameeker

    Happy you have a flash header , but u know there are people who dont have :=)

    Im am not so good on WP and those code but I know some , I mean I can do what u say but cant create something new..

    Can u please tell me how u did it …

    Thanks

    Thread Starter Angie Meeker

    (@ameeker)

    I didn’t create it. If you’d like, I can send you the email for the person who did the edit of the existing flash logo.

    I would like to change JPEG header in the template for SWF file. I think I should change something in here:
    #banner{
    float: center;
    width: 1003px;
    height:192px;
    display: block;
    margin: 0 auto;
    background:#fff url(img/header.jpg) no-repeat;}

    but I don’t know what to do. I download swf uploader, uploaded SWF file to media and don\t know what to do next. Could anyone help me please?
    Any help appreciated.
    Thankx

    toritaiyo

    (@toritaiyo)

    Hi Martin,

    That looks like you are editing your CSS file. That’s not where you want to edit.

    Like blepoxp mentioned above you need to edit your header.php file. (wp-content/YOUR-THEME/header.php)

    Find the code for your blog’s title. most likely it looks like this:
    <h1><a href="<?php bloginfo('url'); ?>"><?php bloginfo('name'); ?></a></h1>

    remove that and replace it with the html to embed your flash file (that code should look like the code in AMEEKER’s first post above).

    hope that helps.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Flash in header’ is closed to new replies.