View Full Version : validating a jpeg
Dahle
March 14th, 2004, 01:16 AM
cheers!
i have a little question
is there a way of making flash test if a jpeg is present when trying to load it externaly?
-Dahle
claudio
March 14th, 2004, 01:42 AM
You can use PHP to check if the file exists.
RoboLlama
March 14th, 2004, 02:34 AM
You don't need to use php. You can just do this:
if(movieClip.loadMovie("file.jpg")) trace("Worked");
else trace ("Failed: file does not exist or could not be opened");
Dahle
March 14th, 2004, 10:40 AM
cool, thanks!
-Dahle
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.