Page 2 of 2 FirstFirst 12
Results 11 to 17 of 17
  1. #11
    Join Date
    Nov 2010
    Posts
    101
    Plugin Contributions
    0

    Default Re: Problem with flash header size

    I changed the height in the stylesheet #logowrapper to 100% and also changed the height within the object tags in the header file and nothing happens. What do you mean try scaling the flash file for width and height?

  2. #12
    Join Date
    Nov 2010
    Posts
    101
    Plugin Contributions
    0

    Default Re: Problem with flash header size

    ok I think i figured it out about scaling I googled scaling flash file and came up with this site http://helpx.adobe.com/flash/kb/flas...ttributes.html. I added parm name value noborder and it did change the size to fit the header size, but it's to big. I think I have to fix the size within adobe flash cs5 to make it 1000px wide not 1200px wide. I will let you know if that fixes the problem. Thanks to everyone who has helped.

  3. #13
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Problem with flash header size

    You should be able to scale it perfectly within your code. No need to adjust it in Flash. Can you put a link up to your site?

  4. #14
    Join Date
    Nov 2010
    Posts
    101
    Plugin Contributions
    0

    Default Re: Problem with flash header size

    I have tried for a couple of days now to fix this problem and I'm getting nowhere with this. I was able to get the flash header to fit, but it's still out of scale. I'm looking for someone who can lead me in the right direction. Here is the complete code from the tpl_header.php file

    Code:
    <?php
    /**
     * Common Template - tpl_header.php
     *
     * this file can be copied to /templates/your_template_dir/pagename<br />
     * example: to override the privacy page<br />
     * make a directory /templates/my_template/privacy<br />
     * copy /templates/templates_defaults/common/tpl_footer.php to /templates/my_template/privacy/tpl_header.php<br />
     * to override the global settings and turn off the footer un-comment the following line:<br />
     * <br />
     * $flag_disable_header = true;<br />
     *
     * @package templateSystem
     * @copyright Copyright 2003-2006 Zen Cart Development Team
     * @copyright Portions Copyright 2003 osCommerce
     * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0
     * @version $Id: tpl_header.php 4813 2006-10-23 02:13:53Z drbyte $
     */
    ?>
    
    <?php
      // Display all header alerts via messageStack:
      if ($messageStack->size('header') > 0) {
        echo $messageStack->output('header');
      }
      if (isset($_GET['error_message']) && zen_not_null($_GET['error_message'])) {
      echo htmlspecialchars(urldecode($_GET['error_message']));
      }
      if (isset($_GET['info_message']) && zen_not_null($_GET['info_message'])) {
       echo htmlspecialchars($_GET['info_message']);
    } else {
    
    }
    ?>
    
    <!--bof-header logo and navigation display-->
    <?php
    if (!isset($flag_disable_header) || !$flag_disable_header) {
    ?>
    
    
    <!--bof-navigation display-->
    
    <!--eof-navigation display-->
    
    
    
    
    <!--bof-branding display-->
    
    <object type="application/x-shockwave-flash" data="includes/templates/all_business/flash/qasheader.swf" width="1000" height="250">
    <param name="movie" value="includes/templates/all_business/flash/qasheader.swf" >
    <param name="quality" value="best">
    <param name="scale" value="exactfit">
      <!--<![endif]-->         
    <a href="http://www.adobe.com/go/getflash">             
    <img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player"/>      
    </a>        
    </object>
    
    
    
      
    
    
    
    
    
    <!--eof-branding display-->
    
    
     
    
    
    
    
    
    
    <!--bof-drop down menu display-->
    <?php require($template->get_template_dir('tpl_drop_menu.php',DIR_WS_TEMPLATE, $current_page_base,'common'). '/tpl_drop_menu.php');?>
    <!--eof-drop down menu display-->
    <div class="clearBoth"></div>
    
    <!--eof-header logo and navigation display-->
    
    
    
    <!--bof-optional categories tabs navigation display-->
    <?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?>
    <!--eof-optional categories tabs navigation display-->
    
    <!--bof-header ezpage links-->
    <?php if (EZPAGES_STATUS_HEADER == '1' or (EZPAGES_STATUS_HEADER == '2' and (strstr(EXCLUDE_ADMIN_IP_FOR_MAINTENANCE, $_SERVER['REMOTE_ADDR'])))) { ?>
    <?php require($template->get_template_dir('tpl_ezpages_bar_header.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_ezpages_bar_header.php'); ?>
    <?php } ?>
    <!--eof-header ezpage links-->
    
    <?php } ?>
    Also if you need any other information that may help please let me know. Also I can't give out url because the site is on my localhost. This is what the header looks like currently.
    Attached Images Attached Images  

  5. #15
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Problem with flash header size

    Can't really help without it being live...

    But try this.

    Get rid of all of the <object> - </object> code, all of it.

    and just try this instead..

    <embed src="includes/templates/all_business/flash/qasheader.swf" width="1000px"></embed>

  6. #16
    Join Date
    Nov 2010
    Posts
    101
    Plugin Contributions
    0

    Default Re: Problem with flash header size

    ok I made my site live...so the url is www.godfatherantiques.com.
    I took out the whole object tag code and replaced it with embed tags. It made the flash header fit within the header, but it's not scaled correctly.

  7. #17
    Join Date
    Nov 2009
    Location
    UK
    Posts
    1,090
    Plugin Contributions
    0

    Default Re: Problem with flash header size

    Says you need a username and password to view it

 

 
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Problem with Flash Header
    By nacidoporfe in forum Templates, Stylesheets, Page Layout
    Replies: 234
    Last Post: 13 Mar 2010, 06:08 AM
  2. Problem with flash on main page (not header)
    By sartor in forum General Questions
    Replies: 7
    Last Post: 14 Jan 2009, 10:59 AM
  3. Once again problem with Flash header
    By craigpowell in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 22 Sep 2008, 01:42 AM
  4. Problem with Flash Header pt2
    By hondauser85 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 6 Jun 2007, 04:03 PM

Posting Permissions

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