Featured Post

Unit Testing Transition

Hello my name is Doug, Thank you for allowing me to attend DreamWeaver’s Anonymous. I am a DreamWeaver-aholic, I have abstained for three months, 15 days, and 21 hours…thank you for your support. Ok ok, a bit dramatic but sometimes during my transition to Eclipse/CFEclipse I swear I didn’t...

Read More

Follow @dougrdotnet on Twitter

Adobe Releases FlexBuilder 3.0 and AIR 1.0

Posted by dougr | Posted in AIR, Flex | Posted on 24-02-2008

Tags: ,

0

Adobe has officially released Flex 3, AIR 1.0, and the Flex SDK. This has been a long stretch of downloading betas which is now at an end.

FlexBuilder 3 is available for $99 upgrade, $249 Standard, or $699 Professional.

Additional information is available on Adobe’s site.

The SDK is still free and available from the same link.

AIR is still freely available and can be found here on Adobe’s site.

FlexBuilder 3 Beta 2 Modules Bug

Posted by dougr | Posted in Fusebox | Posted on 23-01-2008

Tags:

0

Today following the refactoring of some working code base into modules, I discovered an issue which threw an error related to the presence of any ComboBox, ListBox, and apparently PopUp.

The bug is related to the use of shared resources in a module application. The error occurred during run-time.

I found a similar issue in the Flex 3 Release Notes related to a known issue with launching popups (issue SDK-873).

My issue was not necessarily with popups but the symptoms were the same as that issue so I adapted the fix into my code:

This example code will fail in FB3 Beta2:


<mx:application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
<mx:dissolve id="hide" duration="200" alphafrom="1.0" alphato="0.0">
<mx:dissolve id="reveal" duration="300" alphafrom="0.0" alphato="1.0">
<mx:panel title="Combo Test" width="100%" height="100%" paddingbottom="10" paddingleft="10" paddingright="10" paddingtop="10">
<mx:tabnavigator id="nav" width="100%" height="100%" paddingleft="10">
<mx:moduleloader url="mod_comboBox.swf" label="Combo" width="100%" height="100%" hideeffect="{hide}" showeffect="{reveal}">
<mx:moduleloader url="mod_anothercombo.swf" label="Another Combo" width="100%" height="100%" hideeffect="{hide}" showeffect="{reveal}">
</mx:moduleloader>
</mx:moduleloader>
</mx:tabnavigator>
</mx:panel></mx:dissolve></mx:dissolve></mx:application>

However, if you add this following code to the main application file the issue will resolve:


import mx.managers.IPopUpManager;
import mx.managers.CursorManager;
import mx.managers.DragManager;
private var cursorManager:CursorManager;
private var iPopUpManager:IPopUpManager;
private var dragManager:DragManager;

This will effectively fix the issue with each of the shared resources within the module application.