Flex Examples
Just a bunch of Adobe Flex Examples
  • Books
  • About Me
  • About You
  • Tags
  • Links
  • Flex 3 (Codename: Moxie)
  • Flex 4 (Codename: Gumbo)
  • Flex Hero
  • Colophon

Setting the accent color on the MX Alert control default button in Flex 4

By Peter deHaan On November 12, 2009 · 3 Comments

The following example shows how you can set the accent color on the MX Alert control’s default button in Flex 4 by setting the new accentColor style.

Full code after the jump.

Continue Reading →

Styling the emphasized button on an MX Alert control in Flex 4

By Peter deHaan On September 25, 2009 · 3 Comments

The following example shows how you can style the emphasized button on a Halo/MX Alert control in Flex 4 by setting the buttonStyleName and emphasizedSkin styles.

 

Continue Reading →

Setting a title background image fill on a Halo Alert control in Flex 4

By Peter deHaan On July 7, 2009 · 1 Comment

In a previous example, “Setting a background image fill on a Halo Alert control in Flex 4″, we saw how you could can a repeating background image fill on a Halo Alert control (with default Spark skin) in Flex 4 by setting the borderSkin style.

The following example shows how you can set the [...]

Continue Reading →

Removing the default dropshadow from the Halo Alert control in Flex 4

By Peter deHaan On July 6, 2009 · Leave a Comment

The following example shows how you can remove the default dropshadow from the Halo Alert control (with default Spark skins) in Flex 4 by setting the borderSkin style.

Full code after the jump.

Continue Reading →

Setting a background image fill on a Halo Alert control in Flex 4

By Peter deHaan On July 5, 2009 · 1 Comment

The following example shows how you can set a repeating background image fill on a Halo Alert control (with default Spark skin) in Flex 4 by setting the borderSkin style.

Full code after the jump.

Continue Reading →

Setting the corner radius on the Halo Alert control in Flex 4

By Peter deHaan On June 20, 2009 · 6 Comments

The following example shows how you can set the corner radius on the Halo TextArea control (with default Spark skin) in Flex 4 by creating a custom skin and setting the radiusX and radiusY properties on the Rect objects (in Flex 3 and earlier this was done by setting the cornerRadius style directly).

Full code [...]

Continue Reading →

Creating a self-closing Alert control in Flex

By Peter deHaan On April 8, 2009 · 6 Comments

The following example shows how you can create a self-closing Flex Alert control by creating a timer and using the static PopUpManager.removePopUp() method to remove the Alert after a certain time period.

Full code after the jump.

Continue Reading →

Styling Alert controls in Flex using the StyleManager class and setStyle() method (Flex 4 Edition)

By Peter deHaan On April 6, 2009 · 4 Comments

In a previous example, “Styling Alert controls in Flex using the StyleManager class and setStyle() methods”, we saw how to style a Flex Alert control using the static StyleManager.getStyleDeclaration() method, and the setStyle() method.

The following example shows how you can do the same thing using the beta Flex 4 SDK by passing a [...]

Continue Reading →

Disabling an Alert control in Flex

By Peter deHaan On October 17, 2008 · 5 Comments

The following example shows how you can disable an Alert control for a specified number of milliseconds before the user can dismiss the dialog by setting the enabled property.

Full code after the jump.

[...]

Continue Reading →

Creating a custom creation complete effect on a Flex Alert control (redux)

By Peter deHaan On September 15, 2008 · 6 Comments

In a previous example, “Creating a custom creation complete effect on a Flex Alert control”, we saw how you could specify an effect which gets played when an Alert control is displayed by setting the Alert control’s creationCompleteEffect style.

The following example shows how you can apply a parallel Fade/Move effect when the Alert [...]

Continue Reading →

Creating an undraggable Alert control in Flex (redux)

By Peter deHaan On September 10, 2008 · 1 Comment

In a previous example, Creating an undraggable Alert control in Flex, we saw how you could create a Flex Alert control that isn’t draggable by listening for the mouseDown event and calling the stopImmediatePropagation() method in the event handler.

The following example shows how you can create an undraggable Flex Alert control by setting [...]

Continue Reading →

Playing a sound effect when an Alert control is displayed in Flex

By Peter deHaan On September 10, 2008 · 5 Comments

The following example shows how you can play an embedded MP3 when a Flex Alert control is displayed by setting the creationCompleteEffect style/effect.

Full code after the jump.

[...]

Continue Reading →
← Previous Entries
  • Categories

    • Accordion
    • AccordionHeader
    • ActionScript
    • AddChild
    • AdvancedDataGrid
    • Alert
    • alpha
    • Animate
    • AnimateProperties
    • Application
    • Application (Spark)
    • ArrayCollection
    • BarChart
    • baseColor
    • beta
    • beta1
    • beta2
    • Bitmap
    • Bitmap/BitmapData
    • BitmapData
    • BitmapFill
    • BitmapFill (Spark)
    • BitmapGraphic
    • BitmapImage
    • BitmapImage (Spark)
    • BitmapImageResizeMode
    • Border (Spark)
    • BorderContainer (Spark)
    • Box
    • BuildInfo
    • Button
    • Button (Spark)
    • ButtonBar
    • ButtonBar (Spark)
    • ByteArray
    • Camera
    • Charting
    • CheckBox
    • CheckBox (Spark)
    • ClassFactory
    • CollectionEvent
    • Color
    • ColorPicker
    • ColorUtil
    • ComboBox
    • ComboBoxArrowSkin
    • Compiler
    • Component
    • Component (Spark)
    • Configuration
    • Container
    • ContextMenu
    • ContextMenuEvent
    • ContextMenuItem
    • CSSCondition
    • CSSSelector
    • CSSStyleDeclaration
    • CurrencyFormatter
    • CursorManager
    • Data Binding
    • DataGrid
    • DataGrid (Spark)
    • DataGridColumn
    • Date
    • DateBase
    • DateChooser
    • DateField
    • DateFormatter
    • Debugging
    • DefaultComplexItemRenderer
    • DefaultTileListEffect
    • DropDownList
    • DropDownList (Spark)
    • DropDownListButtonSkin
    • DropDownListSkin
    • DropShadowFilter
    • E4X
    • Effects
    • Ellipse
    • EmailValidator
    • Embed
    • Event
    • Fade
    • FileFilter
    • FileReference
    • fill
    • Filters
    • Flash
    • Flash Integration
    • FlashVars
    • Flex 3 SDK
    • Flex Builder
    • Flex Builder 3
    • Flex SDK
    • Flex4
    • FLVPlayback
    • FocusManager
    • FontLookup
    • Fonts
    • Form
    • Form (Spark)
    • FormHeading (Spark)
    • FormItem
    • FormItem (Spark)
    • Forms
    • FTETextField (Spark)
    • FullScreen
    • FullScreenEvent
    • FxAnimateColor
    • FxButtonBar
    • FxCheckBox
    • FXG
    • FxHScrollBar
    • FxHSlider
    • FxList
    • FxNumericStepper
    • FxRadioButton
    • FxRotate3D
    • FxScroller
    • FxTextArea
    • FxTextInput
    • FxToggleButton
    • FxVScrollBar
    • FxVSlider
    • getStyleDeclaration()
    • GradientEntry
    • Graphic (Spark)
    • HBox
    • HDividedBox
    • HGroup (Spark)
    • HorizontalLayout
    • HorizontalList
    • HSBColor (Spark)
    • HScrollBar (Spark)
    • HSlider
    • HSlider (Spark)
    • HTML template
    • ID3Info
    • Image
    • Image (Spark)
    • ImageSnapshot
    • itemRenderer
    • JointStyle
    • Label
    • Label (Spark)
    • Legend
    • LegendItem
    • LigatureLevel
    • Line
    • LinearGradientStroke
    • LineScaleMode
    • LinkBar
    • LinkButton
    • List
    • List (Spark)
    • Menu
    • MenuBar
    • Metadata
    • MetadataEvent
    • Model
    • Mouse
    • MouseCursor
    • MouseEvent
    • Move
    • Namespace
    • NavigatorContent (Spark)
    • needsSWF
    • NetConnection
    • NetStream
    • Nightly Builds
    • NumberBaseRoundType
    • NumberFormatter
    • NumberValidator
    • NumericCompare
    • NumericStepper
    • NumericStepper (Spark)
    • ObjectProxy
    • ObjectUtil
    • paddingLeft
    • paddingRight
    • Panel
    • Panel (Spark)
    • Parallel
    • Path
    • PieChart
    • PieSeries
    • PieSeriesItem
    • PopUpAnchor (Spark)
    • PopUpButton
    • PopUpManager
    • ProgrammaticSkin
    • ProgressBar
    • PropertyChangeEvent
    • QName
    • RadialGradient
    • RadioButton
    • RadioButton (Spark)
    • RadioButtonGroup
    • RadioButtonGroup (Spark)
    • Rect
    • RegExp
    • Regular Expressions
    • Repeater
    • RichEditableText
    • RichText
    • RichText (Spark)
    • RichTextEditor
    • Rotate
    • Rotate3D (Spark)
    • Scroller (Spark)
    • Sequence
    • setStyle()
    • SimpleText
    • SimpleText (Spark)
    • skinClass
    • Slider
    • SliderEvent
    • SolidColor
    • SolidColorStroke
    • Sort
    • SortField
    • Sound
    • SoundEffect
    • Spinner (Spark)
    • SpriteVisualElement (Spark)
    • StageDisplayState
    • States
    • StringUtil
    • StringValidator
    • StyleManager
    • Styles
    • SWFLoader
    • SWFObject
    • System
    • SystemManager
    • TabBar
    • TabBar (Spark)
    • TabNavigator
    • TabStopFormat
    • Text
    • Text Layout Framework (TLF)
    • TextArea
    • TextArea (Spark)
    • TextBox
    • TextConverter
    • TextEvent
    • TextFlow
    • TextFlowUtil
    • TextFormat
    • TextGraphic
    • TextInput
    • TextInput (Spark)
    • TextLayoutFormat
    • TextView
    • Themes
    • TileLayout
    • TileList
    • TileOrientation
    • Timer
    • TitleWindow
    • TitleWindow (Spark)
    • TLF
    • ToggleButton (Spark)
    • ToggleButtonBar
    • ToolTip
    • Transition
    • Tree
    • TruncationOptions
    • UIComponent
    • UIFTETextField
    • Updater
    • URLLoader
    • URLRequest
    • URLUtil
    • URLVariables
    • ValidationResultEvent
    • Validator
    • Validators
    • VBox
    • VDividedBox
    • Vector
    • VerticalLayout
    • VerticalLayout (Spark)
    • VGroup (Spark)
    • Video
    • VideoDisplay
    • VideoElement
    • VideoElement (Spark)
    • VideoEvent
    • VideoPlayer (Spark)
    • VideoPlayerScrubBar
    • ViewStack
    • VScrollBar (Spark)
    • VSlider
    • VSlider (Spark)
    • XML
    • XMLList
    • XMLListCollection
    • ZipCodeValidator
    • ZipCodeValidatorDomainType
    • Zoom
  • Articles

    • December 2010
    • November 2010
    • October 2010
    • September 2010
    • August 2010
    • July 2010
    • June 2010
    • May 2010
    • April 2010
    • March 2010
    • February 2010
    • January 2010
    • December 2009
    • November 2009
    • October 2009
    • September 2009
    • August 2009
    • July 2009
    • June 2009
    • May 2009
    • April 2009
    • March 2009
    • February 2009
    • January 2009
    • December 2008
    • November 2008
    • October 2008
    • September 2008
    • August 2008
    • July 2008
    • June 2008
    • May 2008
    • April 2008
    • March 2008
    • February 2008
    • January 2008
    • December 2007
    • November 2007
    • October 2007
    • September 2007
    • August 2007
    • July 2007
  • Calendar

    June 2013
    M T W T F S S
    « Dec    
     12
    3456789
    10111213141516
    17181920212223
    24252627282930
  • Meta

    • Log in
    • Entries (RSS)
"No public Twitter messages." — pdehaan
Flex Examples

Pages

  • Books
  • About Me
  • About You
  • Tags
  • Links
  • Flex 3 (Codename: Moxie)
  • Flex 4 (Codename: Gumbo)
  • Flex Hero
  • Colophon

The Latest

  • Setting the icon placement on a Spark Button control in Flex Hero
    In a previous example, “Setting an icon on a Spark Button in […]

More

  • Flex Examples
  • ColdFusion Examples
  • ActionScript Examples
  • Adobe AIR Examples
This work is licensed under a Creative Commons Attribution 3.0 United States License.
PlatformPro by PageLines