//固定的mc private function gudingmc() { comanylogo.x = stage.stageWidth -comanylogo.width; stage.align = "TL"; stage.addEventListener(Event.RESIZE,stageResize); } private function stageResize(e:Event):void{ //comanylogo.y =stage.stageHeight-comanylogo.height; comanylogo.x =stage.stageWidth-comanylogo.width; }
显示在浏览器中的mc,不管浏览器大小如何改变,mc始终浮动在固定的位置。