Adobe Air Security

Hey everyone,
I have a air application that loads a external swf which is a small drawing widget and needs access to stage listenerers. So I added the swf to the applicationDirectory and loaded it from there.
: loader.contentLoaderInfo.sameDomain = false

loader.contentLoaderInfo.parentAllowsChild = true
loader.contentLoaderInfo.childAllowsParent = true

Shouldnt the sameDomain be = true and not false ?.
But since both the allowChild and allowParent are true , everything runs smooth

Now when I package and deploy the application the swf still gets loaded from the applicationDirectory but now the parentAllowsChild property is always false

I dont understand why in FlexBuilder it works but not when I deploy the application.

Any help would be appreciated :slight_smile:

Thanks
Cheers
Firdosh