[worldKit-dev] NPObject

Grzegorz Myrda grzemy at gmail.com
Tue Jan 8 16:00:06 PST 2008


Setting allowScriptAccess to "always" has no effect.
Of course after setting "Allow always" radiobutton in Global Security
Settings of Flash, everything works ok.
But I would like to set this radiobutton programatically.

Interesting effect is, that in IETab plugin for Firefox it works, even
if "Allow always" radiobutton is not checked, and at the same time in
MSIE (and FF) it is not working.

GM

2008/1/7, Mikel Maron <mikel_maron at yahoo.com>:
> One suggestion is to set allowScriptAccess to "always", in the flash parameters set in the HTML.
>
> Any help?
>
> ----- Original Message ----
> From: Grzegorz Myrda <grzemy at gmail.com>
> To: worldkit-dev at lists.brainoff.com
> Sent: Tuesday, January 1, 2008 10:17:46 AM
> Subject: [worldKit-dev] NPObject
>
>
> I'm running Worldkit offline what makes Javascript communication
> broken. No problems while running from internet server.
> But I want to deliver WorldKit offline.
> I have found advice to add System.security.allowDomain("*"); to Flash.
> Unfortunately it doesn't work for me. NPObject still occures or black
> screen instead of flash, depending on "Local playback setting" while
> Flash export.
> Advice was to save Flash with security as "allow network only". But
> saving with that option makes WorldKit loading with black screen
> instead of map layers. Setting "Local playback security" to "Access
> local files only" makes WorldKit loading layers ok (but with NPObject
> error after Javascript comunication try).
>
> Is there any WorldKit.swf version which can be run locally with
> JavaScript communication ?
> Or any clear instructions out there, step by step, for non-flash
> developer, how to prepare WorldKit.swf to support Javascript
> communication ?
>
> Thx,
> GM
> _______________________________________________
> worldkit-dev mailing list
> worldkit-dev at lists.brainoff.com
> http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com
>
>
>
> _______________________________________________
> worldkit-dev mailing list
> worldkit-dev at lists.brainoff.com
> http://lists.brainoff.com/listinfo.cgi/worldkit-dev-brainoff.com
>



More information about the worldkit-dev mailing list