A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: Error reporting on not finding external text files

  1. #1
    Im building an app that loads text from external sources.

    Sometimes ofcourse the servers where the text is are not there or
    the file im requesting is not available.

    My original idea was to ask for a file and if the contents
    of what is returned didn't contain a certain word then my
    flash would report the file as being not accessible.
    There would also need to be some sort of timeout just incase
    the server returned nothing.

    Does anyone have any ideas or example code to deal
    with when an external resource is not found ?


  2. #2
    more cowbell DigitalOne's Avatar
    Join Date
    Sep 2000
    Boston, MA
    IF file found(goto+play=frame4)

    IF file absent(goto+play=frame5)

    Based around this...

  3. #3
    Exactly like that ...
    I only have flash 4 handy at the moment and
    I have never seen anything like "if file found" ..
    Is that part of flash 5 action scripting ?
    I didn't notice it when I was using with flash 5 at work.

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