Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7933949
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T21:29:14+00:00 2026-06-03T21:29:14+00:00

THE GOAL: I am trying to allow externally loaded swf files communicate with each

  • 0

THE GOAL:

I am trying to allow externally loaded swf files communicate with each other that are locally loaded from the device. I need to be able to have access to vars and functions and objects. I have accheived this while loading swf content from the web here: as3 externally loaded swf from network to control externally loaded swf from network

BUT WHEN I GIVE THE USER THE OPTION TO LOAD FROM DEVICE OR FROM ONLINE… The device swf files can’t communicate with each other. Specifically the loaded swf can not get info from its parent.

Below is the code that works when loading from online:

var InsideConent:Object = this.parent.parent as Object; //// GIVES ACCESS TO "Content.swf"
var ItWorksNow:Sprite = MovieClip(InsideConent.TWO.content).ChildInTWO;  /// 

The device doesn’t like this code:

Security.allowDomain("*");

But when run online it works fine. Below is the error I get when I run it locally loaded from the APP package.

THE ERROR:

SecurityError: Error #3207: Application-sandbox content cannot access this feature.
at flash.system::Security$/allowDomain()
at Products_fla::MainTimeline/frame1()
Cannot display source code at this location.

THE QUESTION:
Is there anything I can do to make allow security domain to work locally on an AIR FOR ANDROID device so I don’t have to change my code? – thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T21:29:15+00:00Added an answer on June 3, 2026 at 9:29 pm

    If you put a try catch around that line it won’t throw an error if it fails. And this way when your code will work on the web and as an app. (apps don’t need to allowDomain b/c they can download everything by default and that is why it fails.)

    try {Security.allowDomain("*");}catch (e) { };

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Goal: I am trying to create a UI with 2 checkboxes per line, each
Goal: I'm trying to refresh content inside a div so that if the user
I am trying to interact with the windows command prompt from code. My goal
I am trying to extract the contour lines from colour topographic maps. The goal
So the goal I am trying to achieve is that when I click on
My goal: I am trying to allow users to embed a link to a
The goal: Remote control of an Android device. I'm trying to make an alternate
I'm trying to setup a server at www.domain.com that will allow me to create
I'm trying to write a program that will allow me to give it a
I am trying to control which files make into the WAR package that is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.