views:

72

answers:

1

Hi,

I'm having an issue with:

__flash__addCallback(variable, "sendData");

When trying to interact with a movie via javascript, where 'variable' is undefined - but only in flash versions less than 9.0.115, in my case the problem presents itself with version 9.0.47 - tested in IE.

I've searched and have found a few posts regarding this bug, but ultimately I can find little else on the subject apart from the fact that it is fixed in flash player 9.0.115 and up.

Whilst I have proven that to be the case, I need to know if I can fix this somehow for users that do have v9 earlier players (which I have no control over) without forcing them to have 9.0.115+, or if this is a bug that I have to 'live' with if users happen to have the early affected versions.

Help? :/

+1  A: 

You may be able to discern additional information about the error if it is coming from JavaScript, since I believe Flash Player's dynamically injected JS is the source of the problem, by setting ExternalInterface.marshallExceptions to true before adding callbacks (and wrapping the addCallback function in try/catch).

Granted, marshallExceptions is not explicitly defined as capable of enabling the passing of JavaScript exceptions via the addCallback function, it may do...something.

Tegeril
Thanks for this, I'll investigate!