After your Flex project gets a bit large you’re inevitably going to start forgetting to remove old, unused code.. Included in the Flex 4 SDK is an updated version of the SWF Tool’s swfdump application. It’s a swf disassembler that can help you in some fun ways. One of which is finding orphaned classes in [...]
Posts under ‘ActionScript’
My 2cents on Flex PMD
I’ve been recently addicted to Flex PMD and I’m so glad someone decided to introduce this historically great Java tool to the Flex/Actionscript world. So, I’ve been contributing to the JIRA/bug system. I found that the standard package exception pattern definitions weren’t taking hold: http://bugs.adobe.com/jira/browse/FLEXPMD-154 LOG IN AND VOTE FOR IT!!!
Disabling the Default Flex Validador Error Tooltips
Let’s just say you have this crazy requirement to validate Flex TextInputs and TextAreas, they have to indicate that they are invalid while using them (i.e. turn red), but NOT use that nifty little mouse-over tooltip that describes why it’s invalid. Ok well here’s how you can stop it: textInput.addEventListener(ToolTipEvent.TOOL_TIP_SHOWN, hideToolTip); private function hideToolTip(event : [...]
Scrolling Containers, IE, wmode="transparent" PROBLEM
This makes TWO Flex bugs in one day… damn I’m handy: http://bugs.adobe.com/jira/browse/SDK-14738
Making Flash/Flex Video More Efficient
Submitted an issue to the Flex Bug Tracking DB today: http://bugs.adobe.com/jira/browse/SDK-14732 This is a result of some performance tuning an application that needs to connect to FMS for video using mx.controls.videoClasses.VideoDisplay Read the issue for details.
DataGrid Item Renderers… Think outside the <mx:Box/>
Ok… so I think I’m funny. This is more about thinking OF the <mx:Box/> Let’s say you want to create a custom ItemRenderer for a Datagrid that has layout control like the HBox container. You cannot simply write a custom component and assign that to a DataGridColumn. You’ll find out that in order to get [...]
Singleton Pattern in Cairngorm 2.1 with Actionscript 3
So, I’m an experienced software engineer diving into the world of Rich Internet Applications (RIA) using Flex. After attending Adobe MAX 2006 in Las Vegas I was inspired to follow the Cairngorm bandwagon that even Adobe seems to have adopted as a gospel design pattern. Call me OCD, but I analyze the daylights out of [...]