RE: [flexcoders] RESKINNING AN Alert

2007-02-11 Thread James T. Riffe
I'm looking for a way to re-skin the Alert popup. If anybody has a way to-do
it an example would be nice. I've tried taking the Alert into a private
function, however backgroundAlpha, background colors and text colors don't
seem to be available. I'll have to assume if this can't be done either
through AS3 or through CSS that I will have to write a popup to substitute
for the alert.show.

 

Thanks in advance

James

 



RE: [flexcoders] RESKINNING AN Alert

2007-02-11 Thread Paul Williams
Hi James,

 

You can specify custom styles for the buttons, message and title of your
Alert control in CSS or in AS3. The Alert control also inherits styles
from 'Panel' allowing you to set backgroundAlpha, backgroundColor,
borderStyle, etc. This is covered in the Alert control documentation:

 

http://livedocs.macromedia.com/flex/2/langref/mx/controls/Alert.html#sty
leSummary

 

If this doesn't answer your question, could you post more detail
regarding the problems you are experiencing or what you are trying to
achieve?

 

Paul

 



From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of James T. Riffe
Sent: Sunday, February 11, 2007 4:00 PM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] RESKINNING AN Alert

 

I'm looking for a way to re-skin the Alert popup. If anybody has a way
to-do it an example would be nice. I've tried taking the Alert into a
private function, however backgroundAlpha, background colors and text
colors don't seem to be available. I'll have to assume if this can't be
done either through AS3 or through CSS that I will have to write a popup
to substitute for the alert.show.

 

Thanks in advance

James