put a swf into header (2 posts)

  1. juanplays
    Posted 9 years ago #

    im fixing my style.css document trying to change my header background : jpg , for a new swf ( flash document) .

    Do anyone tried to put a flash document into header ?


  2. Michael Bishop

    Posted 9 years ago #

    I've only accomplished it via the header.php file, not the style sheet.

    <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,29,0" width="719" height="47">
    <param name="movie" value="http://www.yoursite.com/flash/header.swf">
    <param name="quality" value="high">
    <embed src="http://www.yoursite.com/flash/header.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="719" height="47"></embed></object>

    Make sure your path is correct in both places. I'm not a flash designer, so there may be other options, this is simply the manner in which I was able to accomplish it.

    Obviously you'll adjust the width and height to the size of your flash as well, and adjust any file names.

Topic Closed

This topic has been closed to new replies.

About this Topic