diff --git a/src/egret/context/net/NativeNetContext.ts b/src/egret/context/net/NativeNetContext.ts index c85fa4058f..130e2c5ebb 100644 --- a/src/egret/context/net/NativeNetContext.ts +++ b/src/egret/context/net/NativeNetContext.ts @@ -64,7 +64,7 @@ module egret { var request:URLRequest = loader._request; var bitmapData = egret_native.Texture.addTexture(request.url); var texture = new Texture(); - texture.bitmapData = bitmapData; + texture._setBitmapData(bitmapData); loader.data = texture; Event.dispatchEvent(loader,Event.COMPLETE); };