A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: loadMovie error handling ?

  1. #1
    Junior Member
    Join Date
    Feb 2003
    Posts
    29

    loadMovie error handling ?

    Hallo

    need help :

    I'm using loadMovie to dynamically load jpg's . I know I can get the Information, that the jpeg has loaded via onclipevent(data).

    but is there a way to get an error message if the jpg could not be loaded?

    for example if the clients internet connection is ****ed up?

    I don't want to do it with waiting a certain amount of time for onclipevent(data)and then displaying an error.

    Thank you.

  2. #2
    Senior Member
    Join Date
    Apr 2001
    Location
    UK
    Posts
    493
    check _totalFrames, it will return -1 if nothing loaded.

  3. #3
    Junior Member
    Join Date
    Feb 2003
    Posts
    29
    thanx it works

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