A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: [help]loading data from server works on local browser but not in projector

  1. #1
    curiouser and curiouser LittleRed's Avatar
    Join Date
    Mar 2004
    Location
    Nottingham
    Posts
    335

    [help]loading data from server works on local browser but not in projector

    I've had my game working fine for a while now loading text and xml files from my web server, and I've just created a standalone projector version and it's unable to load the data.

    I've tried searching here and on Google and found surprisingly little on this - I'm guessing it's a sandbox/security issue. I tried adding
    code:
    System.security.allowDomain("mydomain.com");

    but this didn't fix it.
    I need to be able to load text and xml files from the web server and to POST data to php scripts on the server - is this possible from a projector (without 3rd party wrappers?)

    and, as a considerably smaller issue - can i change the icon of the projector file ?

    thanks for any help

  2. #2
    Senior Member tonypa's Avatar
    Join Date
    Jul 2001
    Location
    Estonia
    Posts
    8,223

  3. #3
    curiouser and curiouser LittleRed's Avatar
    Join Date
    Mar 2004
    Location
    Nottingham
    Posts
    335
    my mistake - it wasn't a security issue - I'd used a filename that had a ?uniq="+new Date().getTime() at the end to prevent caching - which doesn't work when not run in a browser.
    but thanks for the reply Tonypa!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center