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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 21, 20262026-05-21T07:34:39+00:00 2026-05-21T07:34:39+00:00

A while back I asked how to open a file in actionscript to supply

  • 0

A while back I asked how to open a file in actionscript to supply information for my flash banner.

It works nicely when I just open the flash file on my computer, but when I upload it to my website it does not show the data from the remote text file…

I know that the file reading bit of the program is correct, as it reads local files on the same web server just fine. So I assume it has something to do with either PHP or the FlashPlayer.

Thanks for any help you can give me!

===

How stupid of me to forget to mention that the file being loaded is from a remote server.
Thus the path to it is an actual URL. As I said this works fine on the computer regardless of whether the file is local or a remote file.

But on the PHP webserver it only wants to read the local files, it doesn’t Read the Remote ones…

===Update

I’ve tried the crossdomain.xml solution, but it seems not to be working.

The banner is located on the actual webserver (http://forum.mydomainhere.com/)
while the text file is located at:
http://files.mydomainhere.com/ – this is a DNS reference to my file server.

The xml file i created looks like:

<?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="www.forum.mydomainhere.com/" />

</cross-domain-policy>

As it said I put it on the http://files.mydomainhere.com/ server.

==

EDIT

I changed the www. simply to a * which made it work. That’s when I removed the www. bit and it still works like a charm. my quess is my forum doesn’t work at www. but just a http://

Thanks for all the help people 🙂

  • 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-21T07:34:39+00:00Added an answer on May 21, 2026 at 7:34 am

    You’re probably having a path issue, meaning Flash can’t find the specified file. Flash loads external files starting from its containing page location, eg: the PHP page that contains it, not where the SWF is located.

    Further, path may be handled differently on the web server than on the local file system. If you are using relative paths, try adding “./” onto the path, or removing “./” if it is already there.

    If you are using absolute paths, make sure the path is in the same domain as the SWF. If the browser is at http://www.mysite.com but Flash is loading the file from http://mysite.com (no www) it is actually in a different security domain, and outside of your sandbox. Make sure they are the same.

    If you post some more details, we’ll be better able to identify your problem.

    I hope that helps,

    Edit

    Based on comment below, you need a cross domain file on the other server. Lots of info on the web about those, start here for a good guide: http://kb2.adobe.com/cps/142/tn_14213.html

    SWF’s have different security rules based on where you are running them, when you are debugging through one of the IDE’s the security settings are very relaxed.

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

Sidebar

Related Questions

I asked this question a while back but now I'm looking to implement an
I was working with a new C++ developer a while back when he asked
So I asked a question a while back about securing downloads using C# (
A while back I asked a question about TransactionScope escalating to MSDTC when I
UPDATE 10/19/2010 I know I asked this question a while ago, but the workarounds
I asked a similar question a few weeks back but it failed to attract
I previously asked a similar question on this topic a while back and got
This question is related to this question I asked a little while back. The
I asked a question a while back about how to get the current variable
I downloaded Xcode 4.0.2 just a while back. I am not able to connect

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.