this.abspath = X.URL.toAbsolutePath( data.url );\r
this.delay = data.delay || 100;\r
this.timeout = data.timeout || 5000;\r
- this.timerID = X.Timer.add( this.delay, 0, this, this._detect );\r
- \r
- //X_Net_Image_hasImage ? ( this._rawObject.src = this.abspath ) : this.attr( 'src', this.abspath );\r
- /*\r
- if( X_UA.Opera7 ){\r
- X_EventDispatcher_toggleAllEvents( this, false );\r
- this._rawObject = new Image();\r
- X_EventDispatcher_toggleAllEvents( this, true );\r
- }; */\r
- \r
+ //this.timerID = X.Timer.add( this.delay, 0, this, this._detect );\r
+\r
this._rawObject.src = this.abspath;\r
- //alert( this._rawObject.src + ' ' + this._rawObject.complete );\r
+\r
if( X_UA.Opera7 && this._rawObject.complete ){\r
this.asyncDispatch( 'load' );\r
} else {\r
this.timerID = X.Timer.add( this.delay, 0, this, this._detect );\r
};\r
- //alert( this._rawObject.src + ' ' + this._rawObject.complete );\r
},\r
\r
handleEvent : function( e ){\r
cancel : function(){\r
// abort がある?\r
this._rawObject && this._rawObject.abort && this._rawObject.abort();\r
+ // this._rawObject.src = '';\r
this._busy = false;\r
this.finish = true;\r
this.asyncDispatch( X.Event.CANCELED );\r