Relax Breath of Solution.

Just I wanted.. Do you?…

Embedding fonts in AS3

No more do you have to have fonts in your library you can embed them directly from the folder where they reside using the [Embed] in your ActionScript Project. You supply the path to the font in the ’source’ param and then store a name to be referenced to access the font in ‘fontFamily’. You […]

Setting the focus blend mode on a TextArea control in Flex – focusBlendMode

A class that provides constant values for visual blend mode effects. These constants are used in the following: The blendMode property of the flash.display.DisplayObject class. The blendMode parameter of the draw() method of the flash.display.BitmapData class Example shows how you can set the focus blend mode of the focus rectangle on a Flex TextArea control […]

Dragging(Drag & Drop) from a Tree to a List/TileList – DragManager

In the Flex framework, we have made dragging and dropping within various List components fairly trivial. Assuming that your data is similar, you simply need to add dragEnabled=true to your source and then dropEnabled=false for your destination. However, the one exception in this case is Tree. By default, you cannot drag any items from any […]

Setting a Flex ProgressBar control’s text indent – mx:ProgressBar

The following example shows how you can control the amount of text indenting on a progress bar label.

Animating a Flex PieChart control’s rotation when a user clicks on an item – mx:SeriesInterpolate mx:showDataEffect

In a previous example, “Rotating a Flex PieChart control when a user clicks on an item”, we looked at changing a PieChart’s rotation when the user clicked on a pie wedge. In the following example, we look at how to add a nice animation effect with some easing to make the effect a bit more […]

« go backkeep looking »