Archive › May, 2011

Painfully slow MXML editing in Flash Builder 4.0 and 4.5

We have been seeing an issue where in some of our MXML code, the editing gets painfully slow. As I type, it can take many seconds for the characters to appear on screen. It makes some of our components basically un-editable within Flash Builder.
I’m trying to get a good repro together for Adobe, and today I narrowed down the issue in one of our components to the presence of a mx:DataGrid tag with multiple attributes.

Take a look at this video I made illustrating the issue.

Has anyone else experienced this?

UPDATE (05/31/2011): I can get around it by subclassing DataGrid as something like DataGrid2. I don’t actually do anything different in my subclass. I just use that in my component instead of referencing DataGrid, and it works like a champ again.

P.S. We had already disabled Design mode a long time ago, so unfortunately, that is not the culprit in this particular case. I’ve also attempted to disable everything “content-assist” related within the MXML Content-assist settings, and that didn’t seem to help. I look forward to discovering a simple setting that can bring the performance back!

Comments ( 5 )

We are looking for an amazing Designer

I work for a small, profitable, growing company that needs more and more design work done. We need everything from UI/UX, to brand/identity, to educational print materials designed. In short, if you work for us, you’ll get to shape just about every client interaction we have. It will be fun!
Check out the job description.

Comments ( 0 )