Simple...
Lets see the show method:
public static function show(text:String = "", title:String = "",
flags:uint = 0x4 /* Alert.OK */,
parent:Sprite = null,
closeHandler:Function = null,
iconClass:Class = null,
defaultButtonFlag:uint = 0x4 /*
Alert.OK*/):Alert
{
Just need to set there a parent!
VELO
On 5/25/07, cbs1918 <[EMAIL PROTECTED]> wrote:
How do you control the position of an Alert popup? By default it
appears that the location is centered within the dimensions of the flash
file. The problem is that the current flash file I am working on is taller
than the browsers window. So when I need to show an Alert popup some users
may not see the popup because they are at the top of the page and the center
of the page is off screen. Is there a way to control this, and is there a
way to center the position of the popup based on the client's current
viewable area?