Hi Jeremy,
Just add the following in your clickHandler:
Alert.buttonWidth = 100;
Alert.yesLabel = yesLabel
Alert.noLabel = noLabel
Alert.cancelLabel = cancelLabel
Alert.show("TEST MESSAGE", "TEST TEST", 1|2|8 , this);
-TH
--- In [email protected], "Jeremy Rottman"
<[EMAIL PROTECTED]> wrote:
>
> I am trying to modify an alert popup, so that I have these three
> choices below.
>
> Abandon Incomplete Cancel
>
>
> My issue is, I cant change the label on the buttons even though I
am
> using the example from the live docs. How do I change the label
>
>
>
> This is the code I an trying
>
> public static var yesLabel:String = "Abandon"
> public static var noLabel:String = "Incomplete"
> public static var cancelLabel:String = "Cancel"
>
> private function clickHandler(event:Event):void {
> Alert.show("TEST MESSAGE", "TEST TEST", 1|2|8 ,
this);
>
>
> }
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Something is new at Yahoo! Groups. Check out the enhanced email design.
http://us.click.yahoo.com/SISQkA/gOaOAA/yQLSAA/nhFolB/TM
--------------------------------------------------------------------~->
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/