I'm stumped on this one here ... I use a loadVars setup to check if a file exists before going on and using loadMovie on it (since I can't error trap that it seems).
However though this works locally, if I do it from an online server and point to a jpg on another server the loadVars now fails! If I bypass it and loadMovie anyway it works no problems!
So why is loadVars being anti-cross-domain and loadMovie isn't? Like I said I could just skip the file check but then I won't know if loadMovie has worked or not until it's too late really.
Is there any better way to check a file exists cross-domain safely? Or a way to make loadVars work cross-domain? x_x
_________________________________
Leozack
However though this works locally, if I do it from an online server and point to a jpg on another server the loadVars now fails! If I bypass it and loadMovie anyway it works no problems!
So why is loadVars being anti-cross-domain and loadMovie isn't? Like I said I could just skip the file check but then I won't know if loadMovie has worked or not until it's too late really.
Is there any better way to check a file exists cross-domain safely? Or a way to make loadVars work cross-domain? x_x
_________________________________
Leozack
Code:
MakeUniverse($infinity,1,42);