Posts Tagged Under Tip

August 28th, 2008

FlexTip: WordWrap for mx:Text

FlexTip: WordWrap for mx:Text

If you’re new here, you may want to subscribe to my RSS feed. Thanks for visiting!Maybe it is easy, maybe not, but I do not think it’s straitforward and logical. If you want to set word wrapping for mx:Text you have to set width. If you did not do this, whole text will be in [...]

Posted in Flex Tips
By Franto
read more
August 28th, 2008

AirTip: List all of your drives in AIR application

AirTip: List all of your drives in AIR application

This is quick Air Tip: If you need get list of all of your drives in code, just use

var list:Array = File.getRootDirectories();

It list all of y our hard drives with CD ROM drives. But if CD is inserted in CD ROM drive, it will be listed as well. I don’t find way how to find [...]

Posted in AIR Tips
By Franto
read more
August 27th, 2008

AirTip: AIR application gained focus

AirTip: AIR application gained focus

This is little AIR Tip: if you want to know when your AIR application gained focus, just listen to AIREvent.APPLICATION_ACTIVATE.

addEventListener(AIREvent.APPLICATION_ACTIVATE, handleApplicationActivate);

Posted in AIR Tips
By Franto
read more
August 27th, 2008

FlexTip: Preventing CheckBox selection with Key.SPACE

FlexTip: Preventing CheckBox selection with Key.SPACE

This is quick Flex Tip. If you do not need or do not want change CheckBox selection with space key, you can set mouseFocusEnabled to false.

 

If you know about any other solutions, let us know.

Posted in Flex Tips
By Franto
read more
Images is enhanced with WordPress Lightbox JS by Zeo