Flexing my brain

I've just finished reading an article over at http://www.actionscript.com where Jesse Warden answers 10 questions on Flash & Flex. Question 4 really piqued my interest: "4. Coming from a Flash perspective, what was easy about learning Flex and what was the biggest challenge?". Jesse answers that question in 7 parts, here's part 2:

"The second thing was scope. I'm used to a tree based structure of scope in relation to Flash timelines. That is not the case in Flex. Everything is flat, and uses ID''s. Basically, if your class has a button called “my_pb”, you write “my_pb” to access it in your class."

Wow. Talk about a moment of clarity.

I must admit I had kinda seen this a few times since playing around with the Beta's and now the release, but it's never been put so succinctly. I intend on doing some serious reading of the documentation that came with Flex Builder 2 (and there's a lot of it). Hopefully I'll be able to find some more of these gems for those that are transitioning from Flash to Flex.

Be Sociable, Share!
Posted in Flex

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Posts this month
July 2006
M T W T F S S
« Jun   Aug »
 12
3456789
10111213141516
17181920212223
24252627282930
31  
Archives