Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2006
    Posts
    136
    Plugin Contributions
    0

    red flag Flash .swf not display in header

    Hy

    please see my code , i use one solution from this link:
    http://www.zen-cart.com/forum/showth...ght=java+flash

    now this is my code:

    Header file : tpl_header.php
    C:\xampp\htdocs\sahil\includes\templates\NEW_TEMPL ATES\common


    Java Script :banner.js
    path:C:\xampp\htdocs\sahil\includes\templates\NEW_ TEMPLATES\jscript

    Flash file :banner.swf
    path: C:\xampp\htdocs\sahil\includes\templates\NEW_TEMPL ATES\images
    + C:\xampp\htdocs\sahil\\images



    Header file code
    ------------------------------------------------------------------------
    #####################################


    <!-- code to call flash file from java script : start -->
    <script src="includes/templates/NEW_TEMPLATES/jscript/banner.js"></script>

    <!-- code to call flash file from java script : end -->

    <table width="758" border="0" align="center" cellpadding= etc>


    BANNER.js file code
    ------------------------------------------------------------------------
    #####################################

    document.write('hello'); // this comes on page ,its for testing only
    document.write('<OBJECT classid="clsid:27CDB6E-AE6D-11cf-96B8-444553540000"');
    document.write('codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0"');
    document.write('WIDTH="300" HEIGHT="156" id="banner" ALIGN="">');
    document.write('<PARAM NAME=movie VALUE="banner.swf"> <PARAM NAME=loop VALUE=false> <PARAM NAME=menu VALUE=false> <PARAM NAME=quality VALUE=high> <PARAM NAME=bgcolor VALUE=#> <EMBED src="banner.swf" loop=false menu=false quality=high bgcolor=# WIDTH="300" HEIGHT="156" NAME="banner" ALIGN=""');
    document.write('TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"></EMBED>');
    document.write('</OBJECT>');



    but i am not able to get swf in IE or FF . it shows only one blank white area(textarea type)

    waiting for your reply.

    Thanks

  2. #2
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Flash .swf not display in header

    NEW_TEMPLATES
    So the name of your current template is NEW_TEMPLATES?
    If it isn't, then your problem/s start/s there.

  3. #3
    Join Date
    Apr 2006
    Posts
    136
    Plugin Contributions
    0

    Default Re: Flash .swf not display in header

    no its NEW_TEMPLATES

    Path: \htdocs\sahil\includes\templates\NEW_TEMPLATES\templates

    and here all my tpl_* files are reside

    Thanks

  4. #4
    Join Date
    Apr 2004
    Location
    UK
    Posts
    5,821
    Plugin Contributions
    2

    Default Re: Flash .swf not display in header

    Can you post url of your site?

 

 

Similar Threads

  1. Flash SWF not loading despite hours of fiddling
    By YellowStarS2k in forum Templates, Stylesheets, Page Layout
    Replies: 16
    Last Post: 9 Feb 2010, 09:29 PM
  2. Flash SWF file not loading on Homepage
    By hyperspeed in forum Templates, Stylesheets, Page Layout
    Replies: 5
    Last Post: 29 Oct 2009, 04:27 AM
  3. About Flash .swf
    By dani0157 in forum Templates, Stylesheets, Page Layout
    Replies: 12
    Last Post: 14 Mar 2009, 05:12 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