[flexcoders] Re: alert button order

2008-07-25 Thread joshua gatcke
Thanks for the tips.

I am going to write a new alert component - this might end up being  
super awesome now that I think about it. Oh the possibilities. :D






[flexcoders] Re: alert button order

2008-07-24 Thread lampei
I guess you could use the PopUpManager class to create your own alert
style box.  You could then mimic all of the Alert functionality, but
have your own Alert box that could do whatever you want to with it. 
You could even add an OK/Yes button if you wanted :)

--- In flexcoders@yahoogroups.com, joshua gatcke [EMAIL PROTECTED] wrote:

 Anyone know if it is possible to control the order of buttons in an  
 alert? According to the docs adobe has predetermined the button order  
 for us.
 
 Currently the alert's buttons read [yes] [no], however our entire app  
 has all our controls in reverse order [no] [yes]. This design decision  
 is reflected in 100's of places through out our app and for  
 consistence sake, we need to make alerts the same way. IMHO it seems  
 extremely far fetched that we would have to go to such extremes as re- 
 writing the alert class to put out buttons in a specific order.
 
 Is there something in the docs I am missing? Has anyone else  
 discovered this shortcoming? Any suggestions?
 
 Thanks in advance for your help and advice.





Re: [flexcoders] Re: alert button order

2008-07-24 Thread Josh McDonald
I often mimic Alert with a mxml component based on tileWindow, and just add
a static show method that calls out to PopupManager.createPopup() and
centrePopup(), it's easy as pie.

-Josh

On Fri, Jul 25, 2008 at 11:36 AM, lampei [EMAIL PROTECTED] wrote:

 I guess you could use the PopUpManager class to create your own alert
 style box.  You could then mimic all of the Alert functionality, but
 have your own Alert box that could do whatever you want to with it.
 You could even add an OK/Yes button if you wanted :)

 --- In flexcoders@yahoogroups.com, joshua gatcke [EMAIL PROTECTED] wrote:
 
  Anyone know if it is possible to control the order of buttons in an
  alert? According to the docs adobe has predetermined the button order
  for us.
 
  Currently the alert's buttons read [yes] [no], however our entire app
  has all our controls in reverse order [no] [yes]. This design decision
  is reflected in 100's of places through out our app and for
  consistence sake, we need to make alerts the same way. IMHO it seems
  extremely far fetched that we would have to go to such extremes as re-
  writing the alert class to put out buttons in a specific order.
 
  Is there something in the docs I am missing? Has anyone else
  discovered this shortcoming? Any suggestions?
 
  Thanks in advance for your help and advice.
 



 

 --
 Flexcoders Mailing List
 FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
 Search Archives:
 http://www.mail-archive.com/flexcoders%40yahoogroups.comYahoo! Groups
 Links






-- 
Therefore, send not to know For whom the bell tolls. It tolls for thee.

:: Josh 'G-Funk' McDonald
:: 0437 221 380 :: [EMAIL PROTECTED]