Welcome, Guest
Please login or register
May 18, 2012, 08:33:49 AM
Topic: error loading in IE but not firefox  (Read 7533 times)
Author
error loading in IE but not firefox
sbeck
*
Posts: 17

« on: September 13, 2009, 11:12:26 AM »

Webpage error details

User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0)
Timestamp: Sun, 13 Sep 2009 16:22:36 UTC


Message: 'swfmacmousewheel' is null or not an object
Line: 29
Char: 5
Code: 0
URI: http://www.beckvideo.com/sbeck/


Message: Unknown runtime error
Line: 4
Char: 5942
Code: 0
URI: http://www.beckvideo.com/sbeck/swfobject/swfobject.js


Adrian.B
Global Moderator

*****
Posts: 260



« Reply #1 on: September 16, 2009, 03:52:45 AM »

In the Deploy folder, you have a folder named "swfobject". The "swfobject" folder must be present on your server.  Inside it, you will find a file named "swfmacmousewheel.js".

Open it with a text editor, and replace its content with the following updated content:
Code:
/**
 * SWFMacMouseWheel v2.0: Mac Mouse Wheel functionality in flash - http://blog.pixelbreaker.com/
 *
 * SWFMacMouseWheel is (c) 2007 Gabriel Bucknall and is released under the MIT License:
 * http://www.opensource.org/licenses/mit-license.php
 *
 * Modded by Robert M. Hall - rhall@impossibilities.com
 * Adjusted following functionality:
 * 1. Watch for events related only to flash content and not the container page
 * 2. Fixed to dispatch mousewheel events only to specific intance ID's that were registered, this
 *    allows multiple SWFobject embeds on a page to use swfmacmousewheel and they will only respond
 *    to their specific target ID's when the event.target.is passed. This way only the currently active item will receive a dispatch event.
 * 3. Works with SWFObject 2.1
 * 4. No longer throws an error on IE/PC platforms because of a null object
 * 5. Works on Safari for PC
 *
 * Dependencies:
 * SWFObject v2.1 <http://code.google.com/p/swfobject/>
 * Copyright (c) 2007 Geoff Stearns, Michael Williams, and Bobby van der Sluis
 * This software is released under the MIT License <http://www.opensource.org/licenses/mit-license.php>
 *
 * Requires a few lines of changes to the AS2 and AS3 code to support the PC version of Safari
 * as well as an additional Flashvar paramater, set flashvars.browser = Browser.name;
 * These changes are only required for Safari on PC - all other modifications noted above are contained solely in this JavaScript
 * Safari PC support based on code/suggestions from Richard "RaillKill" Rodney of Hypermedia - http://railkill.free.fr/
 *
 * Browser detect part from http://www.quirksmode.org/js/detect.html
 *
 */
 
var Browser = { init:function() {
this.name = this.searchString(this.dataBrowser) || "unknown" },
searchString:function(data){
for(var A=0;A<data.length;A++){
var B=data[A].string;
var C=data[A].prop;
this.versionSearchString=data[A].versionSearch || data[A].identity;
if(B){
if(B.indexOf(data[A].subString)!=-1){
return data[A].identity
}
} else if (C) {
return data[A].identity
}
}
},
dataBrowser:[
{
string:navigator.vendor,
subString:"Apple",
identity:"Safari"
}]};

Browser.init();

var swfmacmousewheel = function(){
if(!swfobject)return null;

var u=navigator.userAgent.toLowerCase();
var p=navigator.platform.toLowerCase();

var d=p?/mac/.test(p):/mac/.test(u);
// alert(Browser.name);
if( Browser.name != "Safari" && !d) return { registerObject:function() {} };

var k = [];

var r = function(event){
var o=0;
if(event.wheelDelta){
o=event.wheelDelta/120;
if(window.opera)o= -o;
if(Browser.name=="Safari")o=o*3;}
else if(event.detail) { o= -event.detail;
}
if(event.preventDefault) {
event.preventDefault(); }
return o;
};

var __wheel = function(event){

if(event.target.id == "" || event.target.id == undefined) {
return;
} else {
var o = r(event);
var c;
var tmpI = null;
for(var i=0;i<k.length;i++){
c = swfobject.getObjectById(k[i]);
if(typeof(c.externalMouseEvent) == 'function' && event.target.id == k[i]) {
tmpI=i;
}
}
if(tmpI !=null) {
c = swfobject.getObjectById(k[tmpI]);
c.externalMouseEvent(o);
} else {
window.scrollBy(0,-o);
}


}
};

return{
registerObject:function(m)
{
k.push(m);
if(window.addEventListener)window.addEventListener('DOMMouseScroll',__wheel,false);
window.onmousewheel = document.onmousewheel = __wheel;
}
};
}();

Peter - Icebear
Global Moderator

*****
Posts: 196

« Reply #2 on: September 16, 2009, 06:31:48 AM »

Thx needed it also Cheesy

Need to say that the support is great

"In the end, it's not going to matter how many breaths you took, but how many moments took your breath away"
sbeck
*
Posts: 17

« Reply #3 on: September 16, 2009, 01:38:06 PM »


Need to say that the support is great

AMEN!

Adrian.B
Global Moderator

*****
Posts: 260



« Reply #4 on: September 17, 2009, 06:40:24 AM »

Thanks, you don't know how welcome these comments are Smiley

StrongLLC
*
Posts: 4

« Reply #5 on: May 13, 2010, 11:30:56 AM »

I am having IE issues as well. In my instance the video player simply will not show up.

Link: http://www.daretocomparechevy.com

Do you have any suggestions on how to fix this?

bnitica
Global Moderator

*****
Posts: 79



« Reply #6 on: May 14, 2010, 01:47:47 AM »

Hi StrongLLC,
I can't find our player at your site.

FlashXpert

StrongLLC
*
Posts: 4

« Reply #7 on: May 18, 2010, 10:55:30 AM »

Hey, sorry about that. Our client wanted another player up in its place until the issue can be resolved. I made a test folder on the server so now you should be able to see the player at this link.

http://www.mystrongad.com/daretocomparechevy.com/test/

Please let me know what I can do to get it to work in IE.

Thanks!

StrongLLC
*
Posts: 4

« Reply #8 on: May 19, 2010, 10:16:36 AM »

Nevermind. I figured out the IE issue.

Thanks!

Adrian.B
Global Moderator

*****
Posts: 260



« Reply #9 on: May 19, 2010, 02:32:58 PM »

Happy you figured it out Smiley

ArogmaRar
*
Posts: 1

« Reply #10 on: Today at 07:17:04 AM »

Trade magazines are fantastic for campaigns as <a href=http://www.toryburchflatscanada.com/>Tory Burch Flats</a>  many may very well be injured in to divisions ; your home, commercial enterprise, down in addition to ; settle down ! campaigns is definitely more focused on. A great deal possibly report very special directives month in month out that you simply could to promote near using one-time premise. The exact California Postage posts a wonderful having a meal instruct seasonally this market may keep and employ time after time to learn their own fantastic restaurants varieties.How the Online directory states the actual largest number of small- to help medium-sized establishment business spent in the world ; 46%. Which will;azines up to 50 % you see, the message  <a href=http://www.toryburchflatscanada.com/>Tory Burch Canada</a>  spent every year, maybe $11 billion dollars. This is a they will be easy to, plus they are transport to homeowners without spending a dime for several years. It all;le also easy to look up classes and get just what exactly you have;lso are hunting http://www.toryburchflatscanada.com/ .

Pages: 1
 

Community

What's hot on the forums

Hello,
we just purchased our adobe flash media server 3.5. We should have it built and ready to go next week. I am currently using the developmen...

News

Stay up to date

We've launched a new cool project called VisionFlow.

Like it? Share it!

Tell your friends about us

Do you like our products or our site? We would be very grateful if you shared them with your friends, colleagues, parents, pets and spread the word about our awesome products.

Share to Facebook Share to Twitter Stumble It Email This More Share...