"11flex" Posts

Tip of the Day – How to create a prompt field on your mx:ComboBox

For a long time I’ve been doing things like this within Flex.

[Bindable] private var _skills:Array = 
	{label: "---", id: -1},
	{label: "1 - Newbie", id: 1},
	{label: "2 - Some Experience", id: 2},
	{label: "3 - Expert", id: 3},
	{label: "4 - I'm a baller", id: 4}

And then binding this data provider to a ComboBox…

<mx:ComboBox id="skillsCB" dataProvider="{_skills}" />

Well it turns out there is a much easier way of doing this that I never knew of until today. ComboBox has a “prompt” attribute that you can set. It’s so easy…

<mx:ComboBox id="skillsCB" dataProvider="{_skills}" prompt="---" />

I told you it was easy. Can’t believe I never noticed it before.

Late-night programming

	import net.natebeck.Nate;
	import net.natebeck.events.NateEvent;
	import com.bugquash.Project;
	import flash.event.Event;
	public class BugQuash
		protected var pokeCount:int;
		protected var baller:Nate;
		public function BugQuash()
			baller = new Nate();
			baller.addEventListener(NateEvent.GETTING_TIRED, onGettingTired);
			baller.addEventListener(Event.COMPLETE, onComplete);
		protected function onGettingTired(event:NateEvent):void
		protected function onComplete(event:Event):void
		public function poke():void
			if(++pokeCount < 4) 
				baller.say("Hey... that's kind of nice");

Are you attending the Flex SDK BugQuash? You should be!

Between my full-time job, planning the Flex SDK BugQuash, and trying to install Flash Media Server on 64-bit Ubuntu Linux (a real nightmare I tell you), I’ve just been utterly swamped and ultimately have been neglecting my blog. However, I feel compelled to write this blog post letting you know what you are missing if you decide not to attend the open source Flex SDK BugQuash.

What is this BugQuash thing about?

In a nutshell, the Flex SDK BugQuash is a FREE event that is being hosted by Adobe on March 28th in Seattle, WA. Developers will be attending in-person as well as online using Adobe Connect. The goal of the event is to fix, or “quash”, as many bugs in the Flex SDK in 10 hours as humanly possible. There are currently over 200 people registered to attend this event!

Want this for your site?

What if I’m not good enough?

Quite a few people have asked this question.

This first BugQuash will have more of a focus on learning. The goal is for everyone in the community to know how to make changes to the Flex SDK, submit patches and ultimately make a better SDK for all of us to work with. Right now there are only a handful of people that are actually submitting patches, which is why we need to focus on getting everyone up to speed on HOW to fix the bugs in the Flex SDK.

You’re certainly not going to be the only one who feels like they have less than expert skills at the event. Much of this event is designed for you, to teach you these skills.

You’ll be able shadow teams working on problems and have your questions answered. If you don’t walk away from this event with a deeper knowledge of the Flex SDK (unless of course you’re already baller status), then I haven’t done my job properly.

So why attend this event in person?

  • Snacks – M&Ms, Mixed nuts, Goldfish, gummy fruit snacks (just to name a few).
  • Free Food – Lunch and Dinner (I’ve heard rumors of Jimmy Johns).
  • Free Drinks – Soda, water and yes… energy drinks!
  • Guitar Hero World Tour & Rock Band 2 – yes, including the microphone and drums.
  • Face to face time with other developers.
  • Music – from our very own DJ Natey Beck.

I can’t make it to Seattle, what’s this remote experience?

This is a world-wide event (shout-out to my friends in Ukraine: JabbyPanda & FlashRipper), with 3/4′s of the attendees being remote. We have put many hours in to making the remote experience a worthwhile experience. Some user groups in other cities are meeting up to attend remotely, check with your local user group for more details.

Trust me, you won’t want to miss it.

Free Stuff!

Attendees will be eligible to win prizes and Adobe software. Both remote and in-person attendees are eligible to win said prizes. Let me repeat that:


Work together and make friends.

This event is meant to be social. Working together to complete a common task is an excellent way to get to know someone. We’re going to be breaking apart into teams (both remotely and in person) to tackle the bugs together.

We also have a system in place for everyone to communicate with each other. That way if you run into a problem with… let’s say, regular expressions… you can ask for help with it, and find someone who can help you.

The Adobe Flex SDK Team will be attending.

Members of the Adobe Flex SDK Team will be attending and presenting throughout the day. Which is really neat to learn from the people who actually wrote the SDK. We have a room dedicated to “Learning Sessions”, where the Flex SDK Team and other folks will be available online to answer particularly tough questions.

Okay, you’ve convinced me… where do I sign up?

Go to the BugQuash website and Register Now.

So now that I’ve registered, what can I do to get ready?

How can I help?

Help promote the Flex BugQuash

Many of us have been working diligently on this Flex BugQuash event. Now it’s your turn to help us. Here is a promotional banner that I’d love to see littered all over the web.

BugQuash, release your inner Ninja!

Don’t like it? Make your own, all of the NinjaQ assets and logo assets can be downloaded from —> here.

Thanks for the help, and don’t forget to register for the event (it’s free) —> here.