イメージアセット(Background.jpg)をFlash CS5ライブラリに読み込んで、ベースタイプのBitmapDataを使用してクラスのBitmapとしてActionScriptに書き出しました。そのエラーが何ActionScript - BitmapDataライブラリ資産を使用したBeginBitmapFill?
backgroundTexture = new Shape();
backgroundTexture.graphics.beginBitmapFill(Background);
backgroundTexture.graphics.drawRect(0, 0, stage.stageWidth, stage.stageHeight);
backgroundTexture.graphics.endFill();
1067: Implicit coercion of a value of type Class to an unrelated type flash.display:BitmapData.
:
次のコードは、次のエラーを返しますか?
うわー、私はそれを気づかなかったとは思わない...どのように恥ずかしい。ありがとうzzzBov。 – TheDarkIn1978
@ TheDarkIn1978、それは私たちの最高に起こります。 – zzzzBov