1 | Next Page

Setting the Y-axis transform position on a Spark BitmapImage control in Flex 4

Nov 21, 2009 4:26 AM
Rating: (Total Clicks 36)

The following example shows how you can set the Y-axis transform position on a Spark BitmapImage control in Flex 4 by seting the rotationY, transformX, and transformY properties. Full code after the jump. <?xml version="1.0" encoding="utf-8"?> <!-- http://blog.flexexamples.com/2009/11/20/setting-the-y-axis-transform-position-on-a-spark-bitmapimage-control-in-flex-4/ --> <s:Application name="Spark_BitmapImage_transformY_test" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" [...] (translate)

Adding a Sprite to the display list in Flex 4

Nov 21, 2009 4:26 AM
Rating: (Total Clicks 35)

The following example shows how you can add a Sprite to the display object by using the Spark SpriteVisualElement object in Flex 4 and calling the addChild() method. Full code after the jump. <?xml version="1.0" encoding="utf-8"?> <!-- http://blog.flexexamples.com/2009/11/20/adding-a-sprite-to-the-display-list-in-flex-4/ --> <s:Application name="Spark_SpriteVisualElement_addChild_test" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" [...] (translate)

Using a CFF embedded font with a Halo List control in Flex 4

Nov 17, 2009 10:29 PM
Rating: (Total Clicks 25)

The following example shows how you can use a CFF/DefineFont4 embedded font with a Halo/MX List control in Flex 4 by setting the textFieldClass style to the new mx.core.UIFTETextField class. Full code after the jump. <?xml version="1.0" encoding="utf-8"?> <!-- http://blog.flexexamples.com/2009/11/17/using-a-cff-embedded-font-with-a-halo-list-control-in-flex-4/ --> <s:Application name="Halo_List_textFieldClass_test" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" [...] (translate)

Setting a dynamically loaded background image fill on a Spark Border container in Flex 4

Nov 17, 2009 4:28 AM
Rating: (Total Clicks 27)

In a previous example, “Setting a background image fill on a Spark Border container in Flex 4″, we saw how you could set a background image fill on a Spark Border container in Flex 4 by setting the backgroundImage style to an embedded image. The following example shows how you can use a dynamically loaded image [...] (translate)

Setting a background image fill on a Spark Border container in Flex 4

Nov 17, 2009 4:28 AM
Rating: (Total Clicks 16)

The following example shows how you can set a background image fill on a Spark Border container in Flex 4 by setting the backgroundImage style. Full code after the jump. <?xml version="1.0" encoding="utf-8"?> <!-- http://blog.flexexamples.com/2009/11/16/setting-a-background-image-fill-on-a-spark-border-container-in-flex-4/ --> <s:Application name="Spark_Border_backgroundImage_test" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" [...] (translate)

Setting the selection highlight color on a Spark RichEditableText control in Flex 4

Nov 14, 2009 6:27 PM
Rating: (Total Clicks 58)

The following example shows how you can set the text selection highlight color on a Spark RichEditableText control in Flex 4 by setting the focusedTextSelectionColor style. Full code after the jump. <?xml version="1.0" encoding="utf-8"?> <!-- http://blog.flexexamples.com/2009/11/07/setting-the-selection-highlight-color-on-a-spark-richeditabletext-control-in-flex-4/ --> <s:Application name="Spark_RichEditableText_focusedTextSelectionColor_test" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" [...] (translate)

Clipping the content in a Spark Panel container in Flex 4

Nov 14, 2009 4:27 PM
Rating: (Total Clicks 61)

The following examples show how you can clip the overflowing content in a Spark Panel container in Flex 4 by setting the Boolean clipAndEnableScrolling property or using a Spark Scroller container. Full code after the jump. 1) The following example shows how you can set the Boolean clipAndEnableScrolling property on the Panel container’s internal contentGroup skin part: <?xml [...] (translate)

Styling the selected tab on a Spark TabBar control in Flex 4

Nov 14, 2009 4:28 AM
Rating: (Total Clicks 52)

In a previous example, “Styling the selected button on a Spark ButtonBar control in Flex 4″, we saw how you could style the currently selected button on a Flex 4 Spark ButtonBar control by styling the various states on the Spark ButtonBarButton selector. The following example shows how you can style the currently selected tab on [...] (translate)

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

Nov 13, 2009 6:27 AM
Rating: (Total Clicks 36)

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. <?xml version="1.0" encoding="utf-8"?> <!-- http://blog.flexexamples.com/2009/11/12/setting-the-accent-color-on-the-mx-alert-control-default-button-in-flex-4/ --> <s:Application name="Halo_Alert_accentColor_test" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" [...] (translate)

Creating an animated transition when scrolling through items in a Spark HGroup container in Flex 4

Nov 11, 2009 4:27 PM
Rating: (Total Clicks 51)

The following example shows how you can create a simple horizontal list using a HGroup container and do an animated scroll using the Animate and SimpleMotionPath classes and the getHorizontalScrollPositionDelta() method Full code after the jump. <?xml version="1.0" encoding="utf-8"?> <!-- http://blog.flexexamples.com/2009/11/11/creating-an-animated-transition-when-scrolling-through-items-in-a-spark-hgroup-container/ --> <s:Application name="Spark_HGroup_horizontalScrollPosition_test" xmlns:fx="http://ns.adobe.com/mxml/2009" [...] (translate)

1 | Next Page