Re: [flexcoders] Positioning Alert Control

2007-05-25 Thread Roman Protsiuk
The reference to the Alert instance you are showing can give you more control over Alerts position. It (reference) is returned by Alert.show() method. E.g. var alert : Alert = Alert.show("bla-bla-bla"); alert.y /= 2; R. On 5/25/07, Marvin Froeder <[EMAIL PROTECTED]> wrote: Simple... Lets se

Re: [flexcoders] Positioning Alert Control

2007-05-25 Thread Marvin Froeder
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,

[flexcoders] Positioning Alert Control

2007-05-25 Thread cbs1918
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

Re: [flexcoders] Positioning Alert

2006-02-28 Thread Omar Ramos
.com> > Sent: Sunday, February 19, 2006 10:05 PM > Subject: Re: [flexcoders] Positioning Alert > > > Isn't centerPopUp a method of the PopUpManager? > such as : > PopUpManager.centerPopUp(myAlert); > > > > > > > > > > > FYI, using myAlert.cent

Re: [flexcoders] Positioning Alert

2006-02-22 Thread Daniel Cascais
; point.x = theX; > point.y = theY; > theCanvas.localToGlobal(point); > > my_alert.move(point.x, point.y); > } > > - Original Message - > From: "Daniel Cascais" <[EMAIL PROTECTED]> > To: > Sent: Wednesday, February 22, 2006 11:25 AM >

Re: [flexcoders] Positioning Alert

2006-02-22 Thread JesterXL
= {}; point.x = theX; point.y = theY; theCanvas.localToGlobal(point); my_alert.move(point.x, point.y); } - Original Message - From: "Daniel Cascais" <[EMAIL PROTECTED]> To: Sent: Wednesday, February 22, 2006 11:25 AM Subject: Re: [flexcoders] Positioning Alert O

Re: [flexcoders] Positioning Alert

2006-02-22 Thread Daniel Cascais
Ok… sorry for the late reply (my day seems to only have 12 hrs). I tried using the 4th parameter in show() and the results are exactly the same. You can see two screenshots here: http://www.cascais.cl/images/deletable/alertposition1.png http://www.cascais.cl/images/deletable/alertposition2.png T

Re: [flexcoders] Positioning Alert

2006-02-21 Thread JesterXL
Frikin' 24, and it blows. But, this is what I got, so this is what I'm gonna use. - Original Message - From: "Aldo Bucchi" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 21, 2006 8:53 PM Subject: Re: [flexcoders] Positioning Alert jesse, how many hours d

Re: [flexcoders] Positioning Alert

2006-02-21 Thread Aldo Bucchi
n's alert > function. > > - Original Message - > From: "Daniel Cascais" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, February 21, 2006 10:25 AM > Subject: Re: [flexcoders] Positioning Alert > > > We tried with the VBox and an Accordion that is

Re: [flexcoders] Positioning Alert

2006-02-21 Thread JesterXL
Sent: Tuesday, February 21, 2006 10:25 AM Subject: Re: [flexcoders] Positioning Alert We tried with the VBox and an Accordion that is within the VBox. As a note, vertically the Alert is being correctly positioned, which means it is having some effect, as it isn't the same as the Applic

Re: [flexcoders] Positioning Alert

2006-02-21 Thread Daniel Cascais
u passing > in the VBox or the Application? > > - Original Message - > From: "Daniel Cascais" <[EMAIL PROTECTED]> > To: > Sent: Tuesday, February 21, 2006 9:24 AM > Subject: Re: [flexcoders] Positioning Alert > > > Yeah, sorry forgot to mention

Re: [flexcoders] Positioning Alert

2006-02-21 Thread JesterXL
Who is the parent of the Alert? You can pass in the parent; are you passing in the VBox or the Application? - Original Message - From: "Daniel Cascais" <[EMAIL PROTECTED]> To: Sent: Tuesday, February 21, 2006 9:24 AM Subject: Re: [flexcoders] Positioning Alert Yeah,

Re: [flexcoders] Positioning Alert

2006-02-21 Thread Daniel Cascais
t anywhere but the center of it's assigned reference. On 2/20/06, JesterXL <[EMAIL PROTECTED]> wrote: > In Flex 2, not 1.5. > > ...is the Alert centered yet? > > - Original Message - > From: <[EMAIL PROTECTED]> > To: > Sent: Sunday, February 19, 20

Re: [flexcoders] Positioning Alert

2006-02-19 Thread JesterXL
In Flex 2, not 1.5. ...is the Alert centered yet? - Original Message - From: <[EMAIL PROTECTED]> To: Sent: Sunday, February 19, 2006 10:05 PM Subject: Re: [flexcoders] Positioning Alert Isn't centerPopUp a method of the PopUpManager? such as : PopUpManager.centerPo

Re: [flexcoders] Positioning Alert

2006-02-19 Thread stacey
Isn't centerPopUp a method of the PopUpManager? such as : PopUpManager.centerPopUp(myAlert); > > > > > FYI, using myAlert.centerPopUp( blabla ) doesn't do the work either. > > alert! something's wrong with alert > > On 2/16/06, Daniel Cascais <[EMAIL PROTECTED]> wrote: > > I'm trying to position a

Re: [flexcoders] Positioning Alert

2006-02-19 Thread Aldo Bucchi
FYI, using myAlert.centerPopUp( blabla ) doesn't do the work either. alert! something's wrong with alert On 2/16/06, Daniel Cascais <[EMAIL PROTECTED]> wrote: > I'm trying to position an Alert instance, but I'm not getting any > reaction from the Alert and it always appears in its default locatio

[flexcoders] Positioning Alert

2006-02-19 Thread Daniel Cascais
I'm trying to position an Alert instance, but I'm not getting any reaction from the Alert and it always appears in its default location in the app. //Code: var myAlert:Alert = Alert.show( "Lalalala" ); myAlert.move( 15, 16 ); I have done this quite a lot in Flash, for which I am wondering if ther