Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 32
  1. #11
    Join Date
    Oct 2006
    Location
    New Albany Ohio
    Posts
    118
    Plugin Contributions
    2

    Default Re: nice 'n ez flo (flash object)

    if you are referring to a product offered by neu net that you have paid for and you require technical support, please contact support at neu net llc dot com.

    this thread is specifically to support nnez flo (for flash objects) which is freely available to the zen cart community.

    thanks.

  2. #12
    Join Date
    Sep 2006
    Location
    Jacksonville, FL
    Posts
    236
    Plugin Contributions
    0

    Default Re: nice 'n ez flo (flash object)

    I see the problem in the code that's being called but i don't know how to change it.

    Code:
    <script type="text/javascript">embedFlash("/my_cart/includes/templates/template_default/nnez_com/flash/header","800","144","");</script><noscript><object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="800" height="144" id="nnez_com" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="/my_cart/includes/templates/template_default/nnez_com/flash/header.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="/studiostyles_0905/store/zen-cart-090706/includes/templates/nnez_com/header.swf" quality="high" bgcolor="#ffffff" width="800" height="144" name="nnez_com" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object></noscript>
    </div
    When it first looks for the .swf it's not seeing it because the ".swf" extension is missing. where do i add this .swf?
    John L.
    MultiMedia Designer

  3. #13
    Join Date
    Sep 2006
    Location
    Jacksonville, FL
    Posts
    236
    Plugin Contributions
    0

    Default Re: nice 'n ez flo (flash object)

    Here is what my nnez_flo_output.php looks like:

    Code:
    <?php
    /**
     * nnez_flo_output.php
     * nice 'n ez flash object output
     * HTML-generating function used to embed *.swf files
     * <script> + <noscript> support
     * 
     * *copyright Copyright 2006 ############ LLC
     * http://www.############llc.com
     * *version $Id: nnez_flo_output.php  jpg2afvv-xzgqyi1i-vbfdjsyw-ga6dp8uq 2006-10-13 02:06:32EST 
     * author: jay park graven, jpg at ############llc dot com [yes ma'am, green eggs and ham, but please, no spam]
     */
    
    // $flashfile := the name of your flash file without .swf
    // $w := width of main movie
    // $h := i bet you can guess what this is
    function get_flashed($flashfile='header',$w='800',$h='144')
    {
    	if ($flashfile=='header'){	// your file probably isn't named this
    		// $flashfile='default_'.rand(0,9);	// if you use default flash files frequently, say for headers, this helps
    	}
    	// embedFlash can be found in template_default/jscript_nnez_flash.js
    	$flo='<script type="text/javascript">embedFlash("'.DIR_WS_CATALOG.DIR_WS_TEMPLATES.'template_default/nnez_com/flash/'.$flashfile.'","'.$w.'","'.$h.'","");</script>';
    	// echo '<noscript>'.get_nnez_flashed('default_'.rand(0,9),'602','158').'</noscript>';
    	$flo.='<noscript>'.get_nnez_flashed($flashfile,$w,$h).'</noscript>';
    
    	return $flo;
    }
    
    // flash wrapper for nnez_com noscript; proper before msft, adbe quibble. 
    function get_nnez_flashed($flashfile,$w,$h)
    {
    	$flo='<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://fpdownload.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=8,0,0,0" width="'.$w.'" height="'.$h.'" id="nnez_com" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="movie" value="'.DIR_WS_CATALOG.DIR_WS_TEMPLATES.'template_default/nnez_com/flash/'.$flashfile.'.swf" /><param name="quality" value="high" /><param name="bgcolor" value="#ffffff" /><embed src="'.DIR_WS_CATALOG.DIR_WS_TEMPLATES.'nnez_com/'.$flashfile.'.swf" quality="high" bgcolor="#ffffff" width="'.$w.'" height="'.$h.'" name="nnez_com" align="middle" allowScriptAccess="sameDomain" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/go/getflashplayer" />
    </object>';
    
    	return $flo;
    }
    
    ?>
    John L.
    MultiMedia Designer

  4. #14
    Join Date
    Oct 2006
    Location
    New Albany Ohio
    Posts
    118
    Plugin Contributions
    2

    Default Re: nice 'n ez flo (flash object)

    lawbird, nnez_flo_output.php makes a call to jscript_nnez_flash.js :: embedFlash() which appends the .swf extension (you can see the function in the code you posted).

    if you call get_flashed() with a filename that includes the .swf extension, it will definitely not work... unless you wanna try naming your flash file myflashfile.swf.swf then it might, never tried it.

    cheers ^.^
    Last edited by neunetllc.com; 25 Oct 2006 at 06:05 PM.

  5. #15
    Join Date
    Sep 2006
    Location
    Jacksonville, FL
    Posts
    236
    Plugin Contributions
    0

    Default Re: nice 'n ez flo (flash object)

    Tried that... doesn't work. What am I doing wrong?
    John L.
    MultiMedia Designer

  6. #16
    Join Date
    Oct 2006
    Location
    New Albany Ohio
    Posts
    118
    Plugin Contributions
    2

    Default Re: nice 'n ez flo (flash object)

    if you have more than 1 user-defined template in your zc installation, try copying jscript_nnez_flash.js from template_default/ to {YOUR_TEMPLATE}/

    our over rides have been buggy with zc 1.3.5 /jscipt/ file over rides. although the 'click to activate' flash issue should be resolved for any zc template, it's better to have it fixed for at least 1 active template than none, n'est-ce pas?

    hope this helps.

    if not, will you please include a url we could look at (or pm/email me)?
    Last edited by neunetllc.com; 25 Oct 2006 at 06:39 PM.

  7. #17
    Join Date
    Sep 2006
    Location
    Jacksonville, FL
    Posts
    236
    Plugin Contributions
    0

    Re: nice 'n ez flo (flash object)

    rockin! that did it!

    thanks a lot.
    John L.
    MultiMedia Designer

  8. #18
    Join Date
    Sep 2006
    Location
    Jacksonville, FL
    Posts
    236
    Plugin Contributions
    0

    Default Re: nice 'n ez flo (flash object)

    New problem:

    It's throwing off my center-alignment....

    Here's my URL:

    http://www.studiostyles.net/studiost...n-cart-090706/

    I had everything center-aligned before. Is there anything I need to change in this code to get it back?
    John L.
    MultiMedia Designer

  9. #19
    Join Date
    Oct 2006
    Location
    New Albany Ohio
    Posts
    118
    Plugin Contributions
    2

    Default Re: nice 'n ez flo (flash object)

    not sure exactly what you mean, but nnez flo does nothing but embed .swf, flash objects while handling the 'click to activate' issue and still embeds the .swf file if scripts are disabled.

    no style formatting of any kind is included. if you want it centered, with padding, a border, etc, nnez flo will not do that and with good reason.

    ...but glad to know it fulfilled its purpose!

  10. #20
    Join Date
    Mar 2006
    Posts
    208
    Plugin Contributions
    0

    Default Re: nice 'n ez flo (flash object)

    Hi neu net llc

    the download link returns a "product not found"
    Is the mod still available for download?

 

 
Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. flash flash banner install on Modern Zen [RI07] Template
    By firefly143 in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 18 Mar 2011, 02:25 PM
  2. Links within Flash object do not work
    By Jeffries Productions in forum Templates, Stylesheets, Page Layout
    Replies: 2
    Last Post: 27 Dec 2009, 07:12 PM
  3. SWF object to insert flash video
    By giuly in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 9 Nov 2009, 02:39 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