hi,
mach mal eine neue AS3 fla auf und kopier den folgenden code in frame 1 deiner hauptzeitleiste:
PHP-Code:
stage.scaleMode = StageScaleMode.NO_SCALE;
stage.align = StageAlign.TOP_LEFT;
//---
var fullscreenTexture:Shape = new Shape();
addChild( fullscreenTexture );
var bitmapData:BitmapData = new MeineTextur1( 0,0 );
stage.addEventListener( Event.RESIZE, onResize );
textur();
function onResize( e:Event ):void {
textur();
}
function textur( e:Event = null ):void {
fullscreenTexture.graphics.clear();
fullscreenTexture.graphics.beginBitmapFill( bitmapData, null, true );
fullscreenTexture.graphics.drawRect( 0,0,stage.stageWidth,stage.stageHeight );
fullscreenTexture.graphics.endFill();
}
in die bibliothek dann nur noch "MeineTextur1" mit rein und testen... sollte eigentlich ohne probleme laufen
cheers,
sal