Blog

  • Flex Community Pulse Survey Results

    Being anonymous is l@m3. Besides, cflex.net is getting hammered. lol, 404!

    1. At what stage of technology selection does Flex play in your immediate team?

    – Fully committed

    2. How long have you been using Flex?

    – 2 years+

    3. What would you consider your expertise level?

    – Advanced

    4. Outside of Flex, what have been and continue to be your primary technologies?

    – PHP
    – Flash

    5. Do you use the Flex Data Services (FDS) product?

    – No

    6. When it comes to Flex, what did you used to struggle with, that you no longer have problems with?

    – Dynamic layout. Using declaritive layout in Flex with it’s built-in LayoutManager saves me oodles of time when doing GUI’s. CSS inheritance helps too.

    7. When it comes to Flex, what are you currently struggling with, or wish were improved, made better, had more of, etc…

    – Integration of Flash designs.

    8. How many years have you been programming in general?

    – 6-10 years

    9. How many developers are in your immediate team?

    – n/a – unemployed (if I was, 1-5)

    10. How many employees are at your company?

    – n/a – (if I was employed 101-150)

    11. Has Flex been adopted by your entire company/top level business unit as a primary technology?

    – Yes

    12. What prevents your company from taking things further with Flex?

    – Nothing, we’re 100% Flex or bust!

  • On top of Liz Claiborne on top of Flex

    Late in the day, attempting to walk off the atypical after-lunch food coma. Need more protein. Like every married man, I had succumbed to the inevitable horror that befalls us all, aka, shopping with my wife. I loathe shopping, but I do like the Price is Right, though. Regardless, I had a brief respite at the shoe section in Macy’s. This area is ripe with selection, and most important of all, gushy chairs for guys to chill.

    Cellphone signal downstairs is atrocious. Panic sets in. No surfing WAP-CNN for JXL. I had one of my best attitudes yet, held my game face for hours. Was my fate to toss it all away just for the joyous reprieve of leather wrapped mush-foam? Apparently. I chose not to choose life… I chose something else. A chair. A comfy chair. A chair which allowed me to come to terms with my current situation. Before, I had been compensating my equilibrium, with no spare cycles to focus on my current situation; standing and lookin’ like a playa’ playa’ was challenge enough. You see, I have been recovering from a cold I’ve had since New Years. While I can code and blog reasonably well, dry north Georgia mountains + allergies + head cold == whoa dude, I’m dizzy. I’m sure if I was so inclined, I could pull off the occasional ollie. If I were so inclined, which, at the time I wasn’t, and the nearest skateboard must be… geez, 800 yards away.

    I lounge in the center chair of 3, arms outstretched upon them like I am being served cake by the shoe employee’s. No, I don’t know why they had cake. This was all a farce. I was irritated, all I could think of was my next AS2 class I had to build for my Flash Lite 2 app. I didn’t bring my laptop to the mall. Dear God… get me out of this. My gaze started wandering, desperately seeking something to entertain me.

    Liz Claiborne on FlexI happened upon a stack of boxes that were in the chair to the left of me. The top one was smooth… black. Nondescript excluding the golden print in the center, small, but clearly visible. OMG… does that say… FLEX!? I hug the box.

    “Sir, do you need some help with those?”

    I couldn’t move, so I darted my eyes instead.

    “No, no, thank you mam, I’m just happy to see this box here.”

    “I’m sorry?”

    “I’m not. My wife is over there, actually, trying to find… a 7 or something. Ask her.”

    :: I’m 8 years old, this is my fort, and you have no chance of penetrating my defensive couch-pillow walls. ::

    The woman quietly clears her throat uncomfortably and walks the opposite direction of my wife. The ruse worked; the poor woman fell for it, thinking some woman 20 years my senior was my wife; ah, the wonders of plastics. I’m hugging Liz Claiborne who is on top of Flex, and I’m not letting go… unless her majesty is ready to leave this cursed mall. Thanks for the reprieve, Liz.

  • Permanent ComboBox Prompt in Flex 2

    Gent pinged me on AIM.

    “How do I get a ComboBox prompt?”

    “Use the ComboBox prompt property.”

    “Yeah, but it leaves once you select an item.”

    “Put the prompt as the first item in the dataProvider.”

    “Can’t do that for this context.”

    “Make a custom list that has a prompt above it, and replace ComboBox’ dropdown with your new list.”

    “I can’t, I’m about to go pimpin’ on a Friday night, and your not, so code it, sucka!”

    “Pssff, you wish you had this grill. Fine…”

    So, I attempted to do so in 2 hours, and gave up. Here are my results. Basically, you put a Label above the List. You then extend ComboBox to override the drop down factory so it uses your List instead. The only uncool part is you have to extend ListBase; kind of frustrating when I’m implementing all those interfaces, only to be forced into an inheritance tree… bleh! Extending ComboBox is a pain in the neck because everything is private; frustrating. Anyway, definitely not production code, but should get you started.

    After talking to her majesty, there is actually a usability issue with drop downs on web pages in that, once you select an item, you can no longer “de-select” an item by selecting the prompt again if one doesn’t exist. Therefore, I stick to my original suggestion; throw the prompt item in the dataProvider instead.

    Permanent ComboBox Prompt – View Source | ZIP