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 7569719
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T15:14:14+00:00 2026-05-30T15:14:14+00:00

I have two Flash files: pre-loader and application. Pre-loader: (D:\Projects\FlashApps\dd\edd.fla) is doing basically this:

  • 0

I have two Flash files: pre-loader and application.

Pre-loader: (D:\Projects\FlashApps\dd\edd.fla) is doing basically this:

var mRequest:URLRequest = new URLRequest("http://localhost/flash/dd.swf");
mLoader.load(mRequest);
}

Application file: (D:\Projects\FlashApps\dd\dd.fla) is the real application and among other things is doing this:

_loader.load(_request); //where _request = "assets/html/style.css". 

When debugging the pre-loader, at this point I am getting an error which says:

SecurityError: Error #2148 File SWF http://localhost/flash/dd.swf cannot access local resource file:///D|/Projects/FlashApps/dd/assets/html/style.css.

The application must be loaded by the pre-loader, it won’t start when called directly. But apparently, the security settings are preventing such duo from being possible to debug. Normally when it is on a remote server, it is working ok.

What I have done so far to resolve it:

  1. Added crossdomain.xml to my local i:\xampp\htdocs folder:
>     <?xml version="1.0"?>
>     <!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cross-domain-policy.dtd">     
> <cross-domain-policy>
>     <allow-access-from domain="localhost" />
>     </cross-domain-policy>
  1. Added folder D:\Projects\FlashApps to Global Security Settings panel here: http://www.macromedia.com/support/documentation/en/flashplayer/help/settings_manager04.html

  2. Set File > Publish Settings -> Local Playback Security -> “Use local files only” in both files. It didn’t work, so I set it to “Use network only” Also didn’t work.

What else can be done to be able to debug these Flash files locally?

  • 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-05-30T15:14:15+00:00Added an answer on May 30, 2026 at 3:14 pm

    This is not a crossdomain-related problem. The player is trying to prevent you from accessing “malicious” content on the web or your file system, which it thinks you may be loading. In order to allow it to load things you need, you need to grant that SWF (usually done per folder, rather then per file) permissions to do it. It is easier to do it using the interface from here.

    Note, that some times, if you have overlapping paths, the player may get stubborn about some particular directory. The solution in such case is to remove the directory which is nested deeper.

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

Sidebar

Related Questions

I have two flash files (say screenOne.fla and gameA.fla). After importing the main symbol
I have two ActionScript projects in Flash Builder 4.5. The second project needs to
Greeting, I have two flash files myVideo1.swf and myVideo2.swf Each one contents FLVPLAYBack component
I'm stumped. I have two flash files I'm authoring. File A has a MovieClip
I have two Flash Builder projects. Let's call them MainWeb and MainAIR. MainWeb defines
Okay so I have two png files, a circle and a maze. Basically the
Let's say we have two flash objects on the same html page. I want
I have two noobish questions about Flash, Actionscript, Flex etc. 1) With these technologies
Hy, I have two options to choose from: Client side(with FLASH or Javascript): pro:
Have two folders with approx. 150 java property files. In a shell script, how

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.