Hi list,

i have a local main.swf that loads a local sub.swf.
Both have their sandbox types to local.

When run with local policy files everything works ok, however when run
without it, I can access the code in sub.swf from main.swf, but casting that
normally works okay returns null.

The sub.swf has a method on the root that returns something of type
IGameWrapper.
In the main.swf IGameWrapper(mySub.getWrapper()) returns null, but only if
the sandbox is local file, not if it is local trusted.

Does anyone know why this happens and what i can do about it?
allowDomain etc does not help here (the code is accessible from main to sub
and back, its just the casting that fails).

greetz
JC
_______________________________________________
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

Reply via email to