Flex Certification » Flex Certification, Flex Questions » Adobe Flex Questions
Adobe Flex Questions
Adobe Flex Builder (FB) is the product name for FB product release 1, 2, and 3 of Adobe’s Rich Internet Application (RIA) client and Adobe AIR solution development tool. FB 4 is being renamed from Flex Builder to Flash Builder 4 for its initial product release in the first-half of 2010.
The Flex to Flash product name change is to better position the FB development tool product to be better positioned with Adobe’s extensive family of Flash development tools and platforms.
How to Set the Selected Color of Flex LinkBar
We recently needed to set the selected color of a LinkBar item. This happens automagically if you are using it with a ViewStack, we however were using an Array for our dataprovider and for whatever reason, that is not supported. Fortunately I was able to find this little function to fix the problem. It basically loops through the children of your LinkBar. If the item clicked matches the current child in the loop it sets the style to your selected color. Code is below.
private function doLinkBar(event):void{ for(var i:int=0; i<event.target.numChildren; i++){ var curItem = event.target.getChildAt(i); i==event.index ? curItem.setStyle("color", 0x2a80d5) : curItem.setStyle("color", 0x000000); }}
How to Parse Atom Feeds with Flex/ActionScript
Very important, if you are trying to parse an atom feed, say from Blogger for example. Make sure you include the following lines of code. If not, you could spend several days trying to figure out how to “trick” the system to work. I’m not saying I did this, I’m just saying it could happen…
// Define and use atom namespace
private namespace atom = “http://www.w3.org/2005/Atom”;
use namespace atom;
What new features in Flex 4 are you most excited about?
Spark skinning and the new states
Filed under: Flex Certification, Flex Questions · Tags: Flex Certification, Flex Questions, Flex Reference







