Similar to the previous post where we covered a couple of techniques for embedding an icon into a Button control, this post explores embedding an icon into an Alert control. An icon in an Alert control appears to the left of the alert’s message text, but the second example will show how you can easily tweak the code to also add icons to the nested buttons controls within the alert dialog itself. See the full code after the jump.
Search
Months
Recent Entries
- Setting the vertical divider cursor on a VDividedBox container in Flex
- Setting the horizontal divider cursor on an HDividedBox container in Flex
- Setting a label function on a LinkBar control in Flex
- Setting the label placement on a TabNavigator container in Flex
- Setting the label placement on a TabBar control in Flex
- Setting the text alignment on a TabBar control in Flex
- Setting the tab width on a TabBar control in Flex
- Toggling form item visibility in a Form container in Flex
- Using the ZipCodeValidator class to validate US or Canadian zip codes (redux)
- Adding a horizontal separator to a Flex PopUpButton control’s pop up menu (redux)
Blogroll
Narciso (nj) Jaramillo -- much ado about something
Raghu Rao -- FLEXing My Muscle
Mark Anders' Blog
Chet Haase -- Codedependent
Joan Lafferty -- Flex Butterflies and Bugs
Harish Sivaramakrishnan -- FlexGeek
Peter Ent
Ted Patrick -- Ted On Flex
Alex Harui -- Alex’s Flex Closet
Ely Greenfield -- Quietly Scheming




