Tag Archives: Flex

  • Designer Effects for Flex

    Posted on January 15, 2010 by in ActionScript, Blog, Flex, Flex Note

    Efflex is a good site providing a number of custom effects for Flex. http://www.efflex.org/orgefflexmxviewstackeffects/ Here is the Effect Explorer by Efflex. You can preview all the effects and try to customize the effect options. http://www.efflex.org/EfflexExplorer.html

    2 Comments. Continue Reading...
  • Flash / Flex application: Can’t type chinese character

    Posted on August 3, 2009 by in ActionScript, Blog, Flex, Flex Note

    If you have added parameter “wmode” (e.g. opaque, transparent) into the flash application object tag in the HTML. You may not able to type non-English character into the text input of the flex application by using non-IE browsers. <object classid=”clsid:D27CDB6E-AE6D-11cf-96B8-444553540000″ id=”flashapp” width=”100%” height=”500″ codebase=”http://fpdownload.macromedia.com/get/flashplayer/current/swflash.cab”> <param name=”movie” value=”teacher.swf” /> <param name=”quality” value=”high” /> <param name=”bgcolor” value=”#869ca7″ [...]

    No Comments. Continue Reading...
  • Using hand cursor in Flex Text control

    Posted on July 16, 2009 by in ActionScript, Blog, Flex, Flex Note

    By default, the flex application can show hand cursor when rollover by enabling useHandCursor and buttonMode properties. However, in Text control, the cursor will not change to hand even you set the selectable = false. The tricky thing is that we have to set its mouseChildren to false also. <mx:Text useHandCursor=”true” buttonMode=”true” mouseChildren=”false” /> mouseChildren [...]

    4 Comments. Continue Reading...
  • Creating Custom Flex Component

    Posted on June 26, 2009 by in Blog, Flex, Flex Note

    Here is a very simple and useful guide for beginner to follow if you are planning to create custom component in Flex. It mentions the logic and lifecycle how the flex / flash runs. http://labs.realeyesmedia.com/labs/downloads/techBriefs/AdvancedCustomComponents_20071102.pdf

    No Comments. Continue Reading...
  • Great Flex Diagram

    Posted on June 26, 2009 by in Blog, Flex

    Today I found Kap Lab provides a lot of great Flex components, especially for those reporting graphs. The most amazing things is that it is all free for non-commercial use !! http://lab.kapit.fr/display/kaplabhome/Home

    4 Comments. Continue Reading...
  • Flex Security Error #2148

    Posted on June 22, 2009 by in Blog, Flex, Flex Note

    When you want to test the flex application to access local resources without hosting it on web server or in flex builder’s debug folder, the security error will be prompted. Instead, we can add the “-use-network=false” parameter to the compiler option of the flex project to avoid such error. However, the application cannot access Internet [...]

    1 Comment. Continue Reading...
  • Flex MultiLine FormItem

    Posted on June 18, 2009 by in ActionScript, Blog, Flex, Flex Note

    This is a very good control to break the form item label into multiple lines. I found it from Google by Nick bilyk. http://www.nbilyk.com/multiline-formitem-label http://www.nbilyk.com/examples/betterFormItemExample/index.html

    3 Comments. Continue Reading...
  • Multiline TabNavigator #2

    Posted on April 20, 2009 by in ActionScript, Blog, Flex, Flex Note

    MultiLineTab.as package controls { import flash.display.DisplayObject; import flash.text.TextLineMetrics; import mx.controls.tabBarClasses.Tab; import mx.core.IFlexDisplayObject; import mx.core.UITextField; import mx.core.mx_internal; use namespace mx_internal; public class MultiLineTab extends Tab { public function MultiLineTab() { super(); } override protected function createChildren():void { if (!textField) { textField = new UITextField(); textField.styleName = this; addChild(DisplayObject(textField)); } super.createChildren(); textField.multiline = true; textField.wordWrap = true; [...]

    6 Comments. Continue Reading...
  • Corelib

    Posted on April 16, 2009 by in ActionScript, Blog, Flex, Flex Note

    CORELIB有一堆UTILITIES … 有陣時都幾好用~~ http://code.google.com/p/as3corelib/ http://weblogs.macromedia.com/as_libraries/docs/corelib/com/adobe/utils/package-detail.html

    No Comments. Continue Reading...
  • Flex Multiline TabNavigator

    Posted on April 16, 2009 by in ActionScript, Blog, Flex, Flex Note

    Currently, if your label text is too long. The text will be truncated as “…” in the tab. However, there are very few posts talking about how to build a multiline tavnavigator in flex. And the flex API does not provide a style and properties to do such styling. We have to create custom classes. [...]

    3 Comments. Continue Reading...