SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Enthusiast
    Join Date
    May 2001
    Location
    From Where???
    Posts
    65
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Problem aligning flash movie with background

    Hi all,

    I have a problem with my page, in that I have a background which I wish to align with a flash movie. At present it does not quite align which is quite annoying as it is only out by a few pixels, but it looks really bad. If anyone can help that would be really great. Thanks in advance.

    Here is my code:

    <html>
    <head>
    <title>Concrete_Media _Limited</title>
    <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
    <script language="JavaScript">
    <!--
    function MM_swapImgRestore() { //v3.0
    var i,x,a=document.MM_sr; for(i=0;a&&i<a.length&&(x=a[i])&&x.oSrc;i++) x.src=x.oSrc;
    }

    function MM_preloadImages() { //v3.0
    var d=document; if(d.images){ if(!d.MM_p) d.MM_p=new Array();
    var i,j=d.MM_p.length,a=MM_preloadImages.arguments; for(i=0; i<a.length; i++)
    if (a[i].indexOf("#")!=0){ d.MM_p[j]=new Image; d.MM_p[j++].src=a[i];}}
    }

    function MM_findObj(n, d) { //v4.0
    var p,i,x; if(!d) d=document; if((p=n.indexOf("?"))>0&&parent.frames.length) {
    d=parent.frames[n.substring(p+1)].document; n=n.substring(0,p);}
    if(!(x=d[n])&&d.all) x=d.all[n]; for (i=0;!x&&i<d.forms.length;i++) x=d.forms[i][n];
    for(i=0;!x&&d.layers&&i<d.layers.length;i++) x=MM_findObj(n,d.layers[i].document);
    if(!x && document.getElementById) x=document.getElementById(n); return x;
    }

    function MM_swapImage() { //v3.0
    var i,j=0,x,a=MM_swapImage.arguments; document.MM_sr=new Array; for(i=0;i<(a.length-2);i+=3)
    if ((x=MM_findObj(a[i]))!=null){document.MM_sr[j++]=x; if(!x.oSrc) x.oSrc=x.src; x.src=a[i+2];}
    }
    //-->
    </script>
    <link rel="stylesheet" href="concrete_css.css" type="text/css">
    </head>

    <body bgcolor="#333333" text="#000000" onLoad="MM_preloadImages('images/Menu/concrete_side_down.gif','images/Menu/history_side_down.gif','images/Menu/people_side_down.gif','images/Menu/careers_side_down.gif','images/Menu/location_side_down.gif')">
    <STYLE type="text/css">
    .topbit {
    position: absolute;
    left: 0px;
    top: 0px;
    }
    </STYLE>
    <div class="concrete_css">
    <div class="topbit">
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td><object classid="clsid27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=5,0,0,0" width="800" height="70" vspace="0" hspace="0">
    <param name=movie value="concrete.swf">
    <param name=quality value=high>
    <embed src="concrete.swf" quality=high pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" type="application/x-shockwave-flash" width="800" height="70" vspace="0" hspace="0">
    </embed>
    </object></td>
    <td width="134" background="images/top_bar_extend.gif" colspan="-3">&nbsp;</td>
    </tr>
    <tr>
    <td><img src="images/concrete_title.gif" width="192" height="35"></td>
    <td width="134" colspan="-3">&nbsp;</td>
    </tr>
    <tr>
    <td bgcolor="#333333">&nbsp;</td>
    <td bgcolor="#333333">&nbsp;</td>
    </tr>
    </table>
    <table width="628" border="0" cellspacing="0" cellpadding="0">
    <tr>
    <td align="center" width="119" valign="top"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('concrete_side','','images/Menu/concrete_side_down.gif',1)"><img name="concrete_side" border="0" src="images/Menu/concrete_side_up.gif" width="58" height="16"></a></td>
    <td valign="middle" rowspan="6" width="26" align="center"><img src="images/Menu/menu_divide.gif" width="26" height="178"></td>
    <td valign="top" rowspan="6" width="61" align="left" bgcolor="#333333"><img src="images/main_text_spacer.gif" width="65" height="179"></td>
    <td valign="top" rowspan="6" width="422" align="left" class="main-text">In
    today's business climate, an organisation's success is heavily<br>
    reliant on it's harness of technology. Concrete Media postions<br>
    itself in the market to bridge the gap.<br>
    <br>
    The Solutions business is crowded with services and packages,<br>
    each one addressing specific needs in specific markets. The<br>
    primary issue for any organisation is to decide which solution<br>
    is the right one for them. To do this, one must first address how an<br>
    organisation can benefit from the products and services available.<br>
    Secondly, once this knowledge is captured, one must assess <br>
    which service or product suites the company profile best. This can<br>
    only be achieved if a complete overview of an organisation's<br>
    objectives can be understood along with the workflow processes<br>
    involved in achieving them.</td>
    </tr>
    <tr>
    <td align="center" width="119" valign="top"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('histroy_side','','images/Menu/history_side_down.gif',1)"><img name="histroy_side" border="0" src="images/Menu/history_side_up.gif" width="58" height="16"></a></td>
    </tr>
    <tr>
    <td align="center" width="119" valign="top"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('people_side','','images/Menu/people_side_down.gif',1)"><img name="people_side" border="0" src="images/Menu/people_side_up.gif" width="58" height="16"></a></td>
    </tr>
    <tr>
    <td align="center" width="119" valign="top"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('careers_side','','images/Menu/careers_side_down.gif',1)"><img name="careers_side" border="0" src="images/Menu/careers_side_up.gif" width="58" height="16"></a></td>
    </tr>
    <tr>
    <td align="center" width="119" valign="top"><a href="#" onMouseOut="MM_swapImgRestore()" onMouseOver="MM_swapImage('location_side','','images/Menu/location_side_down.gif',1)"><img name="location_side" border="0" src="images/Menu/location_side_up.gif" width="58" height="16"></a></td>
    </tr>
    <tr>
    <td align="center" width="119" valign="top"><img src="images/Menu/menu_bottom.gif" width="119" height="120"></td>
    </tr>
    </table>
    </div>
    </div>
    </body>
    </html>
    "My lyrics are encrypted in Hieroglyphic scriptures so you can picture this.....I make my point like a pyramid"

  2. #2
    SitePoint Evangelist pip's Avatar
    Join Date
    Jun 2001
    Location
    Cape Town, South Africa
    Posts
    548
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    It would be easier to help out if you'd publish the page to a web address, so we'll be able to see how it is supposed to line up with the graphics.
    - Pip
    ---------------------------------------------------------------------------------
    Nothing takes the taste out of peanut butter quite like unrequited love.


Bookmarks

Posting Permissions

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