Friday, March 14, 2008

Flash Global Security Settings: Windows vs. Macs

There seems to be a slight difference between how global security settings are set on Windows and Macs browsers. To note, when you set the global security settings, they are set "globally" for the machine and not for the particular browser where the security setting was set.

On Macs, you can just specify the swf file in the global security settings. The swf file will load successfully and any external interface registered functions can be successfully called.

On Windows, however, specifying the swf file in the global security settings will allow the swf file to load correctly. But, this does not allow registered external interface functions to be called. It will cause the following js error:

Error calling method on NPObject! [plugin exception: Error in Actionscript. Use a try/catch block to find error.].
In order for external interface functions to be called, you must also specify the folder/file where the swf file is located.

3 comments:

Anonymous said...

Hello Jig,

Could you be a little more explicit about your solution please :)

Where can I specify the folder/file where the swf file is located ?

Thx a lot

Anonymous said...

Jig, I LOVE YOU for this.

Stephane: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html is the settings manager for flash player

gowri shankar said...

hey thanks .I was breaking my head for the solution and finally landed in ur page :)