Monday, March 20, 2006

My first Flex 2 Application using Flex Builder 2

Flex Beta 2 was just released and I finally spend some time fiddling with it today. While I have used the mxmlc command line compiler quite a bit to reproduce bugs, this has been my first real exposure to Flex Builder. So far I have to say it's neat. In a few hours I was able to hack together a little color picker from scratch.

Check the sample flex app here. This is obviously a shameless rip-off from the Photoshop color picker, with 90% of the functionality missing and not even scratching the surface on what you can do with Flex ;-) Also note: This will require the beta build of Flash Player 8.5 we just released, e.g. Flash Player 8.5.0.245 (you can check your version number here).

The full project including source is here and pardon the dust in this code, it's really meant to get some experience... But maybe you'll find this useful.

10 Comments:

Anonymous Danger said...

Hehe,
About Adobe Flash Player...

Monday, March 20, 2006 11:18:00 PM  
Blogger Rev. Smoke said...

How can Flex be in Beta when there has not been even an Alpha for the Macintosh?

This has been the most disappointing time in all my nearly 7 years of working with Flash.

You guys have already forced a fatal split between Mac and Windows developers. Taking care of your Mac developers is why Flash is what it is - otherwise it would be just one more Windows only software that would be un-remarkable and un-useful.

Now you have given Windows developers an unbeatable economic advantage over us with a Mac setup. That is SO unfair, I am at my wit's end.

"I know it was you, Fredo. You broke my heart."

Tuesday, March 21, 2006 6:55:00 AM  
Blogger Josh Tynjala said...

That's awesome. It should be a real component in the framework. I can't stand using any color picker but Photoshop's.

Tuesday, March 21, 2006 4:38:00 PM  
Anonymous swingheim said...

twoedge,

Install Windows on your mac. Instructions are all over the net.

Wednesday, March 22, 2006 1:57:00 PM  
Blogger Rev. Smoke said...

Install Windows on your mac. Instructions are all over the net.

That comment misses the point entirely. There have been lots of windows based apps that could have challenged flash over the years, but none of them could leverage the creativity and innovation of the Macintosh community. Because Macromedia always cared enough to keep the IDE up to date on both platforms (even if the plugin wasn't always equal in performance), they dominated the market.

I know that Windows people are the largest consumers of content on the web, but that is definitely NOT true when it comes to the creators of content.

A macintosh IDE and a cross-platform plugin are the reasons that I can make a living building with Flash.

Over the last 3 years or so, the flash community has done nothing but fracture and a huge reason for this is the release of products that keep dividing and subdividing people into labels and compartments (like developer or designer) .

It just sucks to feel left out of something could otherwise have been really important part of my life.

But now it is too late.

Thursday, March 23, 2006 9:54:00 AM  
Anonymous theedge said...

twoedge, you can blame Apple for failing to challenge Windows with enough market penetration of OSX.

But you've made your choice. You can go away now.

Thursday, March 23, 2006 5:58:00 PM  
Anonymous Peter Baird said...

twoedge, I understand your frustration, and I'm sure you probably know this, as it's been widely available, and instructions exist even on the labs site, but you can in fact develop Flex 2.0 beta 2 apps on a Mac with the Flex 2.0 SDK. It's just Flex Builder that's not yet available for the Mac.

In fact, the Flex 2 Style Explorer was developed on a Macintosh. I did switch over the PC for the beta 2 version but only to add "View Source" functionality, which requires Flex Builder to implement.

Otherwise, don't let working on a Mac stop you from jumping right into flex development. I've got both Mac and PC, and I too prefer building Flex 2 apps on the Mac even over using Flex Builder on the P.C. (although, admittedly it'd be great to have Flex Builder on the Mac).

Thursday, March 30, 2006 10:30:00 AM  
Blogger Pepe said...

Hi.

Why don't you open tha source to public via "View Source" contextMenu??

If you do, everyone is pleased, I think.

Saturday, April 01, 2006 5:24:00 AM  
Blogger Brady White said...

I'm attempting to use your color picker. I'm getting the error: "Attempted access of inaccessible property textField through a reference with static type mx.controls:TextInput"

What do I need to do? All I did was unzipped your files, created a new project with ColoRpicker.mxml as the main file.

Wednesday, April 18, 2007 10:40:00 AM  
Anonymous pravin said...

Hey Brady,
Just do one change in that put text instead of textField property wherever it apperes in the application.....as simple as that....

Friday, January 11, 2008 11:42:00 PM  

Post a Comment

<< Home