VideoHive

AIR problem

264 posts
  • Has been a member for 2-3 years
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 1 and 9 items
  • Europe
07happydays says

Hi guys,

I have a big problem. I have an air wrapper and Im trying to load รก swf file from a web server. But unfortunatelly SecurityDomain ‘https://.../apiholder.swf' tried to access incompatible context ‘app:/main.swf’ SecurityError: Error #2070: Security sandbox violation: caller https://.../apiholder.swf cannot access Stage owned by app:/main.swf. at flash.display:tage/set scaleMode()

I tryeod allowdomain, loadpolicyfile, nothing is working…

Any idea?

Thnaks

4 months ago
264 posts
  • Has been a member for 2-3 years
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 1 and 9 items
  • Europe
07happydays says

Anyone?

4 months ago
162 posts
  • Has been a member for 3-4 years
  • Exclusive Author
  • Sold between 100 and 1 000 dollars
  • Bought between 1 and 9 items
  • Ukraine
FLEXIncubator says

Simple question, and I believe you are aware of it. Anyway, do you have cross-domain policy file on the server from which you are loading your swf?

4 months ago
264 posts
  • Has been a member for 2-3 years
  • Contributed a Tutorial to a Tuts+ Site
  • Exclusive Author
  • Sold between 5 000 and 10 000 dollars
  • Bought between 1 and 9 items
  • Europe
07happydays says

Lol, of course. Anyway, I’ve got the solution, is not so simple.

4 months ago
by
by
by
by
by