Small (In other words - obvious) Flex Builder 2 Tip

This post is more than 2 years old.

One of the things that bugged me about Flex development was the fact that when I wanted to test CSS changes, I had to rebuild the complete application and run it again in the browser. For a large app, that can take a very long if you are just changing a font size attribute.

That is completely unnecessary. All you need to do is view your MXML in design mode. You can then switch to your CSS file, make the changes, return to the MXML tab and hit the little green refresh button.

Duh. I don't know why I didn't find this sooner. I guess I'm still burned by how sucky the Design tab was back in the Studio/Homesite days that I tend to avoid it like a plague. Either way - it works darn good in Flex Builder and is a heck of lot better than doing a complete rebuild.

Raymond Camden's Picture

About Raymond Camden

Raymond is a senior developer evangelist for Adobe. He focuses on document services, JavaScript, and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA

Archived Comments

Comment 1 by robert was posted on 11/11/2006 at 12:46 AM

What if you have itemrenderer for example. I created new mxml application where I put every tested components. Another nice tip you can duplicate editor in eclipse (right click on editor tab): in one you can edit code, in another view changes.