you can apply the style to all alerts:

<mx:Style>
Alert
{
...
}
</mx:Style>

or to a single alert:

<mx:Style>
.box1
{
...
}
</mx:Style>

var alert:Alert;
alert=Alert.show("asdf");
alert.styleName="box1";

Derrick Anderson



On Thu, Apr 24, 2008 at 3:29 PM, markflex2007 <[EMAIL PROTECTED]>
wrote:

>   Hi,
>
> I have a class like ( .box1{...} ) in css file. I need the Alert use
> the class "box1".How to set the style name to Alert box.
>
> Thanks
>
> Mark
>
>  
>

Reply via email to