Try:

mx.controls.Alert.yesLabel = "Jau";
mx.controls.Alert.noLabel = "Nix";
mx.controls.Alert.okLabel = "Klaro";
mx.controls.Alert.cancelLabel = "Und tsch�ss..."

you can also modify the default button width of the Alert control if your 
localized text gets too long:

mx.controls.Alert.buttonWidth = 100;

Dirk.


-----Urspr�ngliche Nachricht-----
Von: David Ringley [mailto:[EMAIL PROTECTED]
Gesendet: Fr 11.02.2005 21:23
An: [email protected]
Betreff: [flexcoders] Localizing Alert box button text
 

Is there a way to customize the text on the buttons within an Alert
box? I see in the API that there is a flag option, but the only valid
values are Yes, No, OK, and Cancel. I do not see anything that would
allow one to localize the text.

Thanks!


 
Yahoo! Groups Links



 




<<application/ms-tnef>>

Reply via email to