A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Checking for a file

  1. #1
    I've not heard of a solution to this issue i'm having and have tried to cover my butt so I don't seem like a....well...you know what. Anyway, I want to check if a certain file exists in the same folder as my swf. I know in perl there is a

    if(-e file.exe){
    do this;
    }

    anyway..I know this isn't perl. I just was wondering if there is a command in flash that will return a true if the file exists or a false if it doesn't. Any help would be much appreciated.

    Thanks

  2. #2
    Arckid - Curving the Web
    Join Date
    Dec 2000
    Location
    India
    Posts
    1,412
    try it with PHP and get variable TRUE/FALSE from it ...

    i dont think that flash supports it by internally ...


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