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 […]

Integration of Flex and JavaScript with ExternalInterface.addCallback()

Call ActionScript from JavaScript/Browser Calling ActionScript from JavaScript again requires use of the ExternalInterface class. First we must use the addCallback() function to expose the ActionScript function we want to call to the container. this javascript part need to be added in HTML page, About ExternalInterface The ExternalInterface class is the External API, an application […]

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.

« go backkeep looking »