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

Adding scroll bars to an Spark Application container in Flex 4

By Peter deHaan On November 3, 2010 · 11 Comments

The following example shows how you can add scroll bars to a Spark Application container in Flex 4 by creating a custom skin, adding a Spark Scroller container around the contentGroup skin part, and setting the skinClass style on the Application tag.

Continue Reading →

Creating a bitmap fill on a Spark Application container control bar in Flex 4

By Peter deHaan On April 21, 2010 · Leave a Comment

The following example shows how you can set a bitmap fill on a Spark Application container control bar in Flex 4 by setting the skinClass style and using a BitmapFill.

Continue Reading →

Setting the height of the control bar in a Spark Application container in Flex 4

By Peter deHaan On April 21, 2010 · Leave a Comment

The following example shows how you can set an explicit height on the Spark Application container control bar by setting the height property on the controlBarGroup skin part.

By default the control bar sizes itself to its content, so I don’t really recommend setting an explicit height unless you really want to.

Continue Reading →

Setting the background color on a Spark Application control bar in Flex 4

By Peter deHaan On October 4, 2009 · Leave a Comment

The following example shows how you can set the background fill color on a Spark Application container’s control bar in Flex 4 by setting the skinClass style and modifying the control bar fill:

<!– layer 1: control bar fill –> <s:rect left="1" right="1" top="1" bottom="2"> <s:fill> <s:lineargradient rotation="90"> <s:gradiententry color="0×333333" /> <s:gradiententry color="0×666666" /> </s:lineargradient> [...]

Continue Reading →

Toggling the application control bar in a Spark Application container in Flex 4

By Peter deHaan On October 3, 2009 · 10 Comments

The following example shows how you can toggle the application control bar in a Spark Application container in Flex 4 by setting the Boolean controlBarVisible property.

[...]

Continue Reading →

Creating a vertical application control bar on a Spark Application container in Flex 4

By Peter deHaan On September 23, 2009 · Leave a Comment

The following example shows how you can create a vertical application control bar on a Spark Application container in Flex 4 by creating a custom Application skin and setting the skinClass style.

Full code after the jump.

Continue Reading →

Adding a gradient background to a Spark Application container control bar in Flex 4

By Peter deHaan On September 3, 2009 · 1 Comment

The following example shows how you can create a gradient background Spark Application control bar in Flex 4 by creating a custom skin and setting the skinClass style.

Full code after the jump.

Continue Reading →

Setting the control bar layout on a Spark Application container in Flex 4

By Peter deHaan On September 2, 2009 · Leave a Comment

In a previous example, “Adding a control bar to a Spark Application container in Flex 4″, we saw how you could add a control bar to a Spark Application container in Flex 4 by setting the controlBarContent property.

The following example shows how you can change the layout direction of a control bar in [...]

Continue Reading →

Adding a control bar to a Spark Application container in Flex 4

By Peter deHaan On September 1, 2009 · Leave a Comment

The following example shows how you can add a control bar to a Spark Application container in Flex 4 by setting the controlBarContent property.

Full code after the jump.

Continue Reading →

Disabling a Spark Application container in Flex 4

By Peter deHaan On August 14, 2009 · 7 Comments

In a previous example, “Disabling an Application in Flex 3″, we saw how you could disable an entire Flex Application in Flex 3 by setting the Boolean enabled property on the application object.

The following example shows how you can disable an entire Spark Application in Flex 4 by setting the Boolean enabled property [...]

Continue Reading →

Adding a control bar to a custom Spark Application component in Flex 4

By Peter deHaan On June 8, 2009 · 4 Comments

The following example shows how you can extend the default Spark Application container in Flex 4 and add an ApplicationControlBar by setting the skinClass style. The custom Spark Application skin also adds some default padding, support for horizontal and vertical scroll bars, sets the default layout to a VerticalLayout object, and adds some default padding.

[...]

Continue Reading →

Setting a repeating background image on a Spark Application in Flex 4

By Peter deHaan On March 23, 2009 · 5 Comments

In a previous example, “Setting a background image on an Spark Application in Flex 4″, we saw how you can add a scaled background image to a Flex 4 Spark Application by creating a custom skin with a BitmapGraphic and setting the skinClass style in MXML, CSS, or ActionScript.

The following example shows how [...]

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

    May 2013
    M T W T F S S
    « Dec    
     12345
    6789101112
    13141516171819
    20212223242526
    2728293031  
  • 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