Hello

oops

private function onAddedToStage(e:Event=null):void {
 onStageResize();
}
private function onStageResize(e:Event=null):void {
 picture_mc.width = stage.stageWidth;
 picture_mc.height = stage.stageHeight;
 picture_mc.scaleX = picture_mc.scaleY =
 Math.max (picture_mc.scaleX, picture_mc.scaleY);
}

-- 
iv
http://www.bezier.ru
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to