Hi list...
I'm building an AIR app that brings in a swf from the user's hard drive. The
swf is simply a linear animation with a button to replay the animation on its
last frame. The swf plays fine, but when I click the replay button, I get:
** Security Sandbox Violation ***
SecurityDomain 'file:///C:/ProgramData/myPath/animation.swf' tried to access
incompatible context 'app:/air.swf'
I am reluctant to set Security.allowDomain("*"); I tried it and it didn't work
anyway.
Code on the button:
StartOverButton.addEventListener(flash.events.MouseEvent.CLICK,
function(m:MouseEvent){gotoAndPlay(1);});
stop();
Any suggestions? Thanks,
- Michael M.
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders