[Flashr] onError
Kelvin Luck
kelvin at kelvinluck.com
Sat May 6 07:38:52 EDT 2006
Nearly... Try changing the if statement to:
if(errorCode == Flashr.STATUS_ERROR_CONNECTING) {
(the STATUS_* variables are static or class variables so they exist on
the class itself rather than an instance on the class)
Hope that helps,
Kelvin :)
Spiros Gerokostas wrote:
> IS THIS CORRECT?
>
> __flashrResponse.onError = function(errorCode:Number,
> errorDescription:String, method:String):Void{
> if(errorCode == _flashr.STATUS_ERROR_CONNECTING) {
> trace("errorCode: " + errorCode);
> }
> };
>
More information about the Flashr
mailing list