Subscribe

  • Subscribe  

Flex Programming Tips of the Week 0807d

Posted by Charles | July 27, 2008 .

Keeping Rotated Content Clipped – When you are getting more towards the visual and media side of Flex you will have to deal with something like this. So, be prepared.

Define Dynamic XML Literals by javier Julio – XML is first class citizen of Flex/Actionscript. However, from time to time you just want to do more with it. Here is a small trick to make XML literals.

Flex Calendar Component Collection – This is a set of very useful Flex calendar components. Even better, they all come with source code.

Flex removeChildByID – You’ve migrated from other language. You expect there are some comforting familiarity, or at least the same type of method call when doing the same type of thing. But the reality is not perfect. That’s why sometimes you have to go DIY. This is an example of going extra mile to find back a familiar method call.

Create a FLV thumnail image at Flex runtime – This is a very interesting trick. It capture a thumbnial image whenever you stop the FLV playback. I can think of many usages of this trick, con’t you?

MXML Binding with Ternary Operator – Do you know what is Ternary Operator? It’s the (?:) combo that replaces the If-Then statement. This eample shows you how to do it with MXML. I kinda don’t like these types of trick. In the C age, there were tons of similar ticks to allow you writing one line C code to replace many lines. That’s not healthy to the code in general. It’s only good to the coders’s ego. So, it’s cool you can do this. But it’s not cool to use it.

Put Flex/Flash on Google Gadget – Go where Google goes. That’s a good apprach to make your Flex program visible. This tip helps you put Flex or any flash piece on to Google Gadget. Nice.

Leave a Comment

If you would like to make a comment, please fill out the form below.


Name

Email

Website

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word

Comments

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word


Related Posts

<

Direct TV Offers - usdirect has the best directtv deals