Jeroen's solution would work, but the onLoadError event will fire for other reasons, beside a 404.I wouldnt use the onLoadError event to determine the end of your file list.
why not use another technology?.....php, asp, remoting... any of those could generate an xml file or even an array from a directory listing. then you wouldnt have to name the files 1.jpg, 2.jpg, etc. On 9/4/06, Jeroen Beckers <[EMAIL PROTECTED]> wrote:
You should use the MovieClipLoader class. You could set an interval to about 50ms, which should be enough time for the MCL class to throw the onLoadError event. In the onLoadError event, you delete the interval which will stop the loading.
_______________________________________________ [email protected] To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com

