[haXe] local security and firebug

Michael Barry mike.barry at gmail.com
Fri Jul 6 03:27:04 CEST 2007


Hello,

I have been trying to take advantage of the firebug logging without 
success due to security restrictions. 
(because of URLLoader)
After reading up on Flash 8/9's security model I learned that the 
generated swf file is required to be in the local-trusted sandbox in 
order for javascript:console.log to work.

According to the flash documentation there are 3 ways to enable the 
local-trusted sandbox.
1.) create a FlashPlayerTrust directory that has a config file that 
contains a path to your swf file
2.) use the "Settings Manager" to change security settings
3.) talk to firefox's flash plugin and set the DisableLocalSecurity=1

I have tried 1.) and 2.) multiple times without success. I have double 
and triple checked my config file.
I still receive the Sandbox Security Exception.
The next step is to try it in straight AS3 to see if this might have 
something to do with the way Haxe generates a swf file...since I imagine 
swf files look for FlashPlayerTrust directories at runtime.

I am new to Haxe and Flash 8/9.  Has anyone else run into this problem?  
Is there something simple I am missing?

Thanks








More information about the Haxe mailing list