Hello!
The title might be misleading since i have no idea what’s happening!
I have 2x MovieClips which are filled with their own textures
whenever I press a button but when i add the textures,
it looks like this:
But!
When i change the size of the Flash Player-window,
like maximizing or changing the size in any way,
it now looks like this (As it should look like!)
function drawMc(w:int, h:int, mc:MovieClip):void{
var mySprite:Sprite = new Sprite();
var myBitmap:BitmapData = new BitmapData(loader.width, loader.height);
myBitmap.draw(loader);
mySprite.graphics.clear();
mySprite.graphics.beginBitmapFill(myBitmap);
mySprite.graphics.drawRect(0,0,w,h);
mySprite.graphics.endFill();
mc.addChild(mySprite);
}
Really grateful for help!
~Tompa