View Full Version : .complete ?

03-01-2003, 07:37 PM
The source of a script had a some lines like this:

playster=new Image()
if(playster.complete == false)

What is .complete? I searched and found no prototypes assigned or external scripts. So that must mean that .complete has some kind of official meaning in javascript?

Graeme Hackston
03-01-2003, 07:43 PM

03-01-2003, 07:45 PM
Cool, so detecting if an image has been preloaded is as simple as an IF statement?

Graeme Hackston
03-01-2003, 07:50 PM
I haven't checked preloading with it but it is true when the image is loaded

03-01-2003, 08:16 PM
Thanks, I'll see what it can do.

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum