Calling function in another frame IE vs FF

M

Maarten Hensen

Hi all,

I'm trying to call a javascript in another frame, in Firefox it works
great but IE is acting up. It gives me a "is empty or not an object"
error.

I'm tryed to check if the functions exists in IE with:
if (parent.frames[1].flashProxy.call){
alert('Exists 1 ');
}
And it's a NoNo. In FF they tell me they exist offcourse.

As far as I can see it's the right syntax, can anyone tell me what I'm
doing wrong?

Thx in adv

Maarten
 
T

Thomas 'PointedEars' Lahn

Maarten said:
I'm trying to call a javascript in another frame, in Firefox it works
great but IE is acting up. It gives me a "is empty or not an object"
error.

Where, *exactly*? Have you used a debugger already?
I'm tryed to check if the functions exists in IE with:
if (parent.frames[1].flashProxy.call){
alert('Exists 1 ');
}
And it's a NoNo. In FF they tell me they exist offcourse.

You have neither said which of the numerous versions of IE on which platform
you have tested with, nor have you explained what the `flashProxy' property
of this Window object ought to refer to. Assuming it refers to a
(user-defined) Function object, it is possible that the UA's script engine
simply does not implement Function.prototype.call.

http://PointedEars/scripts/es-matrix/#f
As far as I can see it's the right syntax, can anyone tell me what I'm
doing wrong?

WFM.


PointedEars
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top