If you want to get instant help...please click here to submit a ticket [ link ]
We support 7000+ osCommerce add-ons! Affordable, Reliable, Speed on Rails services on customizations of osCommerce shipping, payment, marketing and others.

Activate Flash Immediately

for osCommerce Merchant version 2.2


Retail Price: $50.00


Ask a Question About:Activate Flash Immediately

by jpweber

If you incorporate Flash, or any other type of or controls into your OSC, you're probably annoyed by the "click here to activate and use this control" annoyance that Microsoft came up with in 2005. You have to hover over it, click it once, and then your Flash will begin to work. Many people don't know how to fix this, and it's annoying, especially if you have, say, a Flash menu. So here's what you do:

(1) Upload fixit.js to your server.

(2) Simply place this following line after the last in your page:


Simple as that! Flash files, embedded objects, Active X controls, etc., will all work immediately in your OSC without the annoyance of the "click to activate" thing ever again!

Jason

Forget all post above ... and read this

01/07/2007 by sylvioruiz

Put this code in js script tag or in js file and link with your page :



In your PHP page put this code, where $IpBanner is the html code for this object.
This is working with all obejct, not only with flash objects.

$IpBanner = '';
?>



xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Of course this is a example. If you undertstand you don't will have more problems.

For example, I update this function to show flash banners :

function tep_display_banner($action, $identifier) {
if ($action == 'dynamic') {
$banners_query = tep_db_query("select count(*) as count from " . TABLE_BANNERS . " where status = '1' and banners_group = '" . $identifier . "'");
$banners = tep_db_fetch_array($banners_query);
if ($banners['count'] > 0) {
$banner = tep_random_select("select banners_id, banners_title, banners_image, banners_html_text from " . TABLE_BANNERS . " where status = '1' and banners_group = '" . $identifier . "'");
} else {
return '(tep_display_banner(' . $action . ', ' . $identifier . ') -> Nenhum banner cadastrado para o grupo '' . $identifier . '' !';
}
} elseif ($action == 'static') {
if (is_array($identifier)) {
$banner = $identifier;
} else {
$banner_query = tep_db_query("select banners_id, banners_title, banners_image, banners_html_text from " . TABLE_BANNERS . " where status = '1' and banners_id = '" . (int)$identifier . "'");
if (tep_db_num_rows($banner_query)) {
$banner = tep_db_fetch_array($banner_query);
} else {
return '(tep_display_banner(' . $action . ', ' . $identifier . ') -> Banner com id '' . $identifier . '' não encontrado, ou status inativo';
}
}
} else {
return '(tep_display_banner(' . $action . ', ' . $identifier . ') -> Parâmetro $action desconhecido - deve ser 'dynamic' ou 'static'';
}

if (tep_not_null($banner['banners_html_text'])) {
$banner_string = $banner['banners_html_text'];
} else {
if ( substr($banner['banners_image'], -3, 3) == 'swf' ) {
$size = getimagesize(DIR_WS_IMAGES . "banners/". $banner['banners_image']);
$banner_string = '' . mm_output_flash_movie( $banner['banners_title'], DIR_WS_IMAGES . "banners/". $banner['banners_image'] , $size[0] , $size[1]) . '';
} else {
$banner_string = '' . tep_image(DIR_WS_IMAGES . "banners/". $banner['banners_image'], $banner['banners_title']) . '';
}
}

tep_update_banner_display_count($banner['banners_id']);

return $banner_string;
}

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Good luck!
Best Regards

Sylvio Ruiz
Rio de Janeiro - Brazil


Flash: movie not uploaded

01/07/2007 by sharq

Hi there...

This is my 2nd contribution (i hope so..)

I've tried so many times to upload & play my flash in header.php but it didnt worked(movie not uploaded!)!

So, i just put simple coding in header.php and it worked!
------------------------------------------------------------------------------------------

1st: Upload your flash.swf in /catalog/images
(it will look like this ---> /catalog/images/flash.swf

2nd: ADD THIS CODING IN YOUR HEADER.PHP


table width="100%" border="0" cellspacing="0" cellpadding="0">






You can view the example at www.pearls.com.my


Hope this will help :)


Shah

Update to Activate Flash

08/23/2006 by kapssite

There is a very minor update made to the javascript file. For some reason the original one was causing IE to try and download objects that didn't exist. It made my site appear as though it was still loading. This updated file has not had any flaws that I have seen yet.


Activate Flash Immediately

06/22/2006 by jpweber

If you incorporate Flash, or any other type of or controls into your OSC, you're probably annoyed by the "click here to activate and use this control" annoyance that Microsoft came up with in 2005. You have to hover over it, click it once, and then your Flash will begin to work. Many people don't know how to fix this, and it's annoying, especially if you have, say, a Flash menu. So here's what you do:

(1) Upload fixit.js to your server.

(2) Simply place this following line after the last in your page:


Simple as that! Flash files, embedded objects, Active X controls, etc., will all work immediately in your OSC without the annoyance of the "click to activate" thing ever again!

Jason
As experienced osCommerce Experts, we are glad to help you to install this addon. The process is as follow:
  • You placed an order of this addon or other addons, checkout and receive an email notification of order status
  • Or you can contact us directly using email form, asking us to install this addon for you
  • Once you and we have agreed to start, please send us FTP access by email
  • You will be updated of the installation status
  • You may ask for customization jobs of this addon

You Risk Nothing: No Upfront Payment Required

Our NO RISK POLICY is clear. You pay only for the successful completion of the installation. If you are not satisfied or we are unsuccessful, your site will be returned to its previous working state and you pay nothing! NOT A PENNY!
Once you are satisfied with our help, you can pay us through Paypal.

OUR NO RISK GUARANTEE 1. No upfront payment is required 2. You only pay on successful completion 3. Money Back Guarantee within 90 Days ! You don't get guarantee like this any where else . . . You Don't Risk One Peny!
Add to Cart:



Copyright © 2006-2012 www.oscexp.com