Has anyone ever noticed flex applications being more strict with it's
security settings asctionscript only or flash compiled applications?
I have a flex project where I am loading a player from brightcove. I
have set my crossdomain policy files up, but I am getting sandbox
violations when trying to do certain things with the player. To
debug, I built a flex app where nothing but the player was downloaded,
and added to a UIComponent. I call Security.allowDomain("*") and
Security.allowInsecureDomain("*"), and our crossdomain policy file
pretty much allows everything. Here's the flex version:
http://externalreview.comparenetworks.com/cnpg/bcdebug/brightcovedebug.html
If you try to e-mail to a friend, you can't focus on the fields. If
you remote debug this, you'll notice there are multiple security
violations. There are no errors when debugging locally.
I copied the code exactly over to an AS project (with an adjustment
for the constructor name) and there are no security errors, and
everything works:
http://externalreview.comparenetworks.com/cnpg/bcdebugas/brightcovedebugas.html
Does anyone know what is going on that is specific to a flex project?
How do I get around it?
Thanks!
Jason