I have the parent set.  My problem is that the parent is a large area
and I do not want the alert box centered at least vertical.  Here's the
code I am using to call the display the alert.

var confirm:Alert = Alert.show("Are you sure you want to delete the
selected item(s)", "Confirm Delete", Alert.YES | Alert.NO, this,
handleConfirmDeleteClose);


--- In [email protected], "Marvin Froeder" <[EMAIL PROTECTED]> wrote:
>
> 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?
> >
> >
>


Reply via email to