One more thing - adding "private var myBitmap:Bitmap = new myTexture();" in the header may work, but a good rule of thumb is that you don't instantiate other than strings and numbers in the class definition. The rest should be instantiated in the contructor.
J
