Ian, did you set System.security.allowDomain() from both side to the other?

In some case, for example to MovieClip.setMask() to a MovieClip loaded from other domain, System.security.allowDomain() should be set not only from other domain to the domain to which the swf is loaded but also from the loading swf to the other.
_____
Ian Thomas wrote:
My initial thought is it must be a cross-domain scripting issue - i.e.
the app wouldn't let you check the instanceof because of a domain
scripting policy (see
http://www.adobe.com/devnet/flash/articles/fplayer_security_04.html).

But I've tested it with System.security.allowDomain() and checked
scripting between the two movies, and even when cross-domain scripting
works perfectly (no sandbox violations) the instanceof still returns
false. (I'm not 100% sure whether I've got the System.security
settings right - but I can read vars in the loaded movies and vice
versa, so that sounds pretty correct to me.)
--
Fumio Nonaka
mailto:[EMAIL PROTECTED]
http://www.FumioNonaka.com/
My books<http://www.FumioNonaka.com/Books/index.html>
Flash community<http://F-site.org/>

_______________________________________________
[email protected]
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