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

  • Home
  • SEARCH
  • 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 7741697
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T09:05:31+00:00 2026-06-01T09:05:31+00:00

Starting with a blank project, when I load a SWF which has a dependence

  • 0

Starting with a blank project, when I load a SWF which has a dependence on ISomeInterface defined in a swc which is compiled into my blank project

var lc:LoaderContext = new LoaderContext( true, ApplicationDomain.currentDomain );
var loader:Loader = new Loader();                       
loader.load( new URLRequest( "Some.swf"), lc );

Not too surpisingly all is good as the interface it requires is already in the application domain into which it has been loaded.

However, when I load the same file from a remote url

loader.load( new URLRequest( "http://127.0.0.1/Some.swf"), lc );

I get the evil

[Fault] exception, information=VerifyError: Error #1014: Class ISomeInterface could 
not be found

What am I missing that makes these different?

  • 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-01T09:05:32+00:00Added an answer on June 1, 2026 at 9:05 am

    My issue appears to have been 2 fold

    1) When loading the asset locally, it will by default be loaded into the correct security domain. However, when loading from a web site, I need ensure that I set the security domain correctly

    new LoaderContext( true, ApplicationDomain.currentDomain, SecurityDomain.currentDomain )
    

    2) However, you can only use the SecurityDomain when the swf you are doing the loading from was actually itself loaded remotely :

    Security.sandboxType == Security.REMOTE
    

    So no mix mode of local and remote.
    In the end it was a matter of simply loading the first SWF from a website, and adding the correct SecurityDomain.

    In my searching, this was the best discorse I found on the topic of Security Domains and Applciation Domains http://www.senocular.com/flash/tutorials/contentdomains/

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

Sidebar

Related Questions

I have a project which I have created in Xcode (starting with the command-line
I'm starting with a blank slate for a layer of business/entity classes, but with
Starting a new rails project and we have a well-thought-out color palette, and want
Starting a new big C multiplatform project, what rules should one follow to avoid
I'm starting a new ASP.NET project that I'm trying to use some jQuery with,
I am starting an asp.net project in VWD2010. Can anyone recommend a decent grid
I'm starting a new project with spring mvc 3 and spring security 3.1.0. I
I'm working on my first Android project, and I'm starting off by making a
I'm starting a project where I'm going to try to write a program for
I have a blank button on which I would like to assign a name,

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.