Re: [Flashcoders] Using transform.matrix on loaded movie problem

2006-09-22 Thread Ray Chuan

Hi,
try this:

trace(System.security.sandboxType);

You should get "localTrusted". If you don't use Adobe Settings Manager
to add the swf as a trusted swf.

http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html

On 9/21/06, Robert Sköld <[EMAIL PROTECTED]> wrote:

I've made a little app that loads in an image from the server and using
the "new" transform matrix i'm modifying the image, rotation and scale
and translate... The problem is that while testing, i get a security
sandbox error like this:

*** Security Sandbox Violation ***
SecurityDomain 'http://localhost/test/getImages.php' tried to access
incompatible context
'file:///C|/Documents%20and%20Settings/Administrator/My%20Documents/Workspace/test/public/index.swf'

I've tried using System.security.allowDomain("http://localhost";); and
i've added a crossdomain.xml in localhost root... but i still get the
error.

I don't think i get it while running it in a browser from
http://localhost/test/index.swf, but the modifications i do using the
transform matrix doesn't apply, so i guess it's something wrong, and
the sandbox error makes it quite impossible to debug.

Anyone know a workaround for this? or more suggestions how to make it
stop whining about security when i'm in the ide, which should be quite
safe...?

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com




--
Cheers,
Ray Chuan
___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com


[Flashcoders] Using transform.matrix on loaded movie problem

2006-09-21 Thread Robert Sköld
I've made a little app that loads in an image from the server and using
the "new" transform matrix i'm modifying the image, rotation and scale
and translate... The problem is that while testing, i get a security
sandbox error like this:

*** Security Sandbox Violation ***
SecurityDomain 'http://localhost/test/getImages.php' tried to access
incompatible context
'file:///C|/Documents%20and%20Settings/Administrator/My%20Documents/Workspace/test/public/index.swf'

I've tried using System.security.allowDomain("http://localhost";); and
i've added a crossdomain.xml in localhost root... but i still get the
error.

I don't think i get it while running it in a browser from
http://localhost/test/index.swf, but the modifications i do using the
transform matrix doesn't apply, so i guess it's something wrong, and
the sandbox error makes it quite impossible to debug.

Anyone know a workaround for this? or more suggestions how to make it
stop whining about security when i'm in the ide, which should be quite
safe...?

___
Flashcoders@chattyfig.figleaf.com
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com