Tag Archives: Flex

Maximize Air window

Just to make searches easier for the rest of the world. Very, very simple example: This maximizes the window on creation complete. Dirty. More reading about NativeWindow: – NativeWindow – Adobe ActionScript® 3 (AS3 ) API Reference

Adapt Flex Datagrid height to content

This is a fix for a recurring problem. When we want to make the datagrid’s height to cover its content (dataprovider). <mx:DataGrid xmlns:mx=”http://www.adobe.com/2006/mxml” variableRowHeight=”true” verticalScrollPolicy=”off” wordWrap=”true” rowCount=”{dataProvider.length}” dataChange=”resize()” columnStretch=”resize()” resize=”resize()” > <mx:Script> <![CDATA[ //This is a work around for the poorly designed wordWrap and variableRowHeight features of the DataGrid private function resize():void { if (dataProvider)… Read More »

First post / Primeiro post

This site will contain an archive of all the junk, problems, code snippets, tricks, hacks, solutions and garbage i want to keep to later use, reuse, alter, etc. Hopefully it will be of help to someone else. In portuguese: Este site conterá um arquivo de todas as tralhas, problemas, soluções e lixo que eu vou… Read More »