You decide to use an AdvancedDataGrid to display your data and for one of the columns you would prefer to use an icon instead of a text label to indicate the kind of data this column represents. First step is building the renderer. You can use either MXML or ActionScript but for this example we’ll [...]
221 readersWhile working on some stuffs with related to htmltext using some styles for Label, it seems to be not displaying the text. Here were the some sample scripts denoting the error which i encountered <?xml version=”1.0″ encoding=”utf-8″?> <mx:Application xmlns:mx=”http://www.adobe.com/2006/mxml” initialize=”init()” layout=”vertical”> <mx:Label> <mx:htmlText> <![CDATA[ Label text goes here ]]> </mx:htmlText> </mx:Label> </mx:Application> It might seems
1115 readersIn this tutorial I will show you how to create a Currency Converter using ActionScript 3 and Flash Components. The calculations are made in runtime, no button clicks needed! 1. Open a new Flash document and save it under “CurrencyConverter.fla”. Set the document size to 400 x 250 pixels and for color choose #CCCCCC. 2. Open the
1008 readers
158 readersThe following example shows how you can use an embedded font with the MX AdvancedDataGrid control in Flex 4 by setting the embedAsCFF and fontFamily styles. <?xml version="1.0" encoding="utf-8"?> <!-- http://blog.flexexamples.com/2010/02/24/using-embedded-fonts-with-the-mx-advanceddatagrid-control-in-flex-4/ --> <s:Application name="MX_AdvancedDataGrid_fontFamily_test" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:s="library://ns.adobe.com/flex/spark" xmlns:mx="library://ns.adobe.com/flex/mx"> [...]
129 readersYou have probably used mx:ViewStack, mx:TabNavigator and mx:Accordion somewhere in your Flex development efforts over the last 5+ years and had code that looks like this: 1234567891011121314151617181920212223<mx:TabNavigator width="400" height="200" horizontalCenter="0" y="15"> <mx:VBox label="Tab 1"> <mx:Label text="This is tab 1"/> </mx:VBox> <mx:VBox label="Tab 2">
807 readers
2489 readers
408 readersThe following example shows how you can set the typographic case (lowercase, uppercase, etc) on a Spark Label control in Flex 4 by setting the typographicCase style to one of the static constants in the flash.text.engine.TypographicCase class. Full code after the jump. <?xml version="1.0" encoding="utf-8"?> <!-- http://blog.flexexamples.com/2010/01/26/setting-the-typographic-case-on-a-spark-label-control-in-flex-4/ --> <s:Application name="Spark_Label_typographicCase_test" xmlns:fx="http://ns.adobe.com/mxml/2009" [...]
53 readersThere may be times when you use an implicit getter/setter to take advantage of data-binding, but you'd prefer the property to remain read-only to the outside world. When trying to do this many people initially attempt the following: PLAIN TEXT Actionscript: [Bindable] public function get someValue():int { return _someValue; } private function set someValue(value:int):void //<--
614 readers
3,615
Subscribe to RSS headline updates from:
GurusUnleashed
Powered by FeedBurner
Curious what others are searching for? Below are the most popular search terms over the last 30 days.

