Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Get value of ApplicationDomain.currentDomain

New Here ,
Jun 04, 2013 Jun 04, 2013

How do we get the actual value out of currentDomain or parentDomain? I have tried a zillion ways and I always end up with [object ApplicationDomain]. What I need is the actual value that is there to help solve a sandbox issue with loading an external swf into a swf. Thanks, any help would be greatly appreciated.

TOPICS
ActionScript
453
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 04, 2013 Jun 04, 2013

what do you mean by "value" of an application domain?

and, what are you trying to do or, what problem are you trying to resolve?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Jun 04, 2013 Jun 04, 2013

When I say value, I need to know what is stored in currentDomain. I am assuming that it is the server with which it is being loaded from. I have an unusual situation that I need to actually see what domain is actually being used. We have a server, behind a firewall. Our main secure server is being logged in to, and then is being redirected (reverse proxy) to the internal server. However when we try to load an external swf (outside firewall) from the main swf (inside firewall) it seems to be using the internal server domain name instead of staying with the secure server like it should, which causes problems.

I have even contemplated seeing if parentDomain would solve that issue, however due to strict rules on our servers the content won't be up for viewing for 24 hours. Kind of a pain but that's how it works here.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jun 04, 2013 Jun 04, 2013
LATEST

When I say value, I need to know what is stored in currentDomain. I am assuming that it is the server with which it is being loaded from.

no, it's not.  it's an abstract container for the classes defined in you main app.

I have an unusual situation that I need to actually see what domain is actually being used. We have a server, behind a firewall. Our main secure server is being logged in to, and then is being redirected (reverse proxy) to the internal server. However when we try to load an external swf (outside firewall) from the main swf (inside firewall) it seems to be using the internal server domain name instead of staying with the secure server like it should, which causes problems.

what problems?
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines