Strange flex bug – caching screens

Hello All,

Thanks again for visiting my blog, “From inspiration to realization”. The blog covers lots of  information about Web Development: Ruby on Rails, Java, Flex and etc.

The past week has been very frustrating for me. As you know (or not) I work quite a bit with flex development and AIR.

The environment for developing these applications is Adobe Flex Builder 3, I never had any problems with this piece of software, but this last week has been just horrible.

I will explain my problem.

As you know (again or not…) I’m not a designer and I don’t wanna be one, so… I got all of the designs from the designer of the project via PSD, cut all of the “assets” to use in my flex application and started off with building each screen.

As always, I wrote some CSS (yeah.. Flex has CSS, same as HTML), built an SWF file for holding all of the assets (SWC), and started dragging in controls.

All pretty basic so far, but…

Sometimes (well, all the time) the flex just refused to build with the recent changes.

After the first time I build an swf from the flex IDE, no change I made to the application actually “kicked in”.


** Because even the labels on the buttons refused an update, I even tried to write it in Action-Script, that didn’t help me at all.

The application just would not update.

 1: private function initScreen():void
 2: {
 3:     screenMainText.htmlText="Please Choose which of the Questionnaires below you would like to compile for your Survey";
 4:     backButton.label = "Back to control panel";
 5: }

What did I do to see the updated?

I copied all of the code from the mxml file, deleted this file, created a new file, pasted in the copied code and WALLA, the updates “kicked in”

Strangely though even a project cleaning would not help


I emailed Adobe, but got no response so far, I will update here and tweet on the solution I hope they provide.

** I tried importing another project to the flex builder, but the error did not exist in another project, only in this specific project.

Submit to Hacker News

[NOTE] This post has been imported to Hugo from a Wordpress blog. It may be broken, missing images, code snippets or other information.

[NOTE] updated March 27, 2009. It's 3594 days old . This article may have outdated content.