10
Mar
2010

Mike Chambers has officially announced FlashCamp San Francisco for the evening of April 16th, 2010 at the Adobe offices on Townsend Street.

What is it?

FlashCamp San Francisco is a free one night event hosted by Adobe covering everything you need to know about about the latest Flash Platform tools and technologies, including Adobe Flash Player 10.1, Adobe Flash CS5, Adobe Flash Builder 4 and mobile design and development.

Not only do you get to spend an evening with some of the top Flash talent in the area, but food and drink will be provided as well. How much would you expect to pay for all of this? Put your wallets away. The entire evening is yours for free.

If my math serves, this will be the 3rd FlashCamp at the location (the first was actually called FlexCamp), and these events have traditionally filled up very quickly. There's a very limited number of seats available, so do not hesitate. Register today!

Comments (0) | 602 Views
25
Aug
2009

Adobe MAX 2009 is coming up fast (October 4-7), and thousands of developers, designers, and decision-makers will soon be descending upon Los Angeles, CA. Certainly, MAX is one of the more extravagant conferences... and while it's worth the price of admission, I wanted to let people know about a few upcoming events that might be a bit more "budget-friendly".

Read More...
Comments (5) | 1228 Views
31
Jul
2008

Yeah, that was a stretch. Serves me right for trying to come up with a witty title before I've had my full morning dose of caffeine.

This made the rounds a while back, but since then things have been relatively quiet and I'm afraid it may have fallen off of most folks' radars. Joshua Cyr is organizing a "non-conference" cruise. What's that mean? It means the best part of the average conference... you know, after the sessions, alcohol in hand, hanging out at the bar with your fellow developers sharing war stories and talking shop... without the pesky sessions getting in the way.

And the best part? It's on a boat. A big boat that sails from Miami to the Bahamas (and back). Food? Check. Drink? Check (um... gotta pay for those tho). White sandy beaches and inviting blue waters? Check. People you talk to online but have yet to meet in person (or don't meet often enough)? Yup.

I think it's a great idea and I applaud josh's efforts for putting it together and coordinating the effort. I'd love to attend, but living on the left coast means paying for cross-country airfare for a family of 5... and that alone would run me about 4x the cost of the cruise itself. But I'd like to see this succeed. I'd like to think that it'll be so successful that it'll be an annual event, and that maybe I can make it in 2010.

What about you? What are you doing feb 9-13th of 2009? Check out http://www.riadventure.com/ for all the details.

Comments (2) | 1902 Views
13
May
2008

In the Flex app that I'm currently working on, I have a DataGrid that uses an itemRenderer to display an image. The image is a 'delete' button that allows the user to delete the item. Fairly straightforward, and the code below was working fine...

<mx:DataGridColumn width="24" sortable="false" paddingLeft="4" paddingRight="4" headerText="">
	<mx:itemRenderer>
		<mx:Component>
			<mx:Image source="assets/icon_delete.png" horizontalAlign="center" height="17" width="17" click="parentDocument.confirmDelete(event);" />
		</mx:Component>
	</mx:itemRenderer>
</mx:DataGridColumn>

... until the customer called and said that the user should not be allowed to delete a record if that record meets a particular condition. OK. I think I can do that. I made some modifications and now had the following code:

<mx:DataGridColumn width="24" sortable="false" paddingLeft="4" paddingRight="4" headerText="" dataField="CAN_DELETE">
	<mx:itemRenderer>
		<mx:Component>
			<mx:Image source="assets/icon_delete.png" horizontalAlign="center" height="17" width="17" click="parentDocument.confirmDelete(event);" visible="{data.CAN_DELETE == 1}" />
		</mx:Component>
	</mx:itemRenderer>
</mx:DataGridColumn>

Read More...
Comments (7) | 6358 Views
23
Apr
2008

Just a quickie today, something that I came across while playing around with Flex. It could very well be a "duh, Charlie" observation, but i think it bears mentioning.

Flex makes it very easy to bind elements to other elements or objects. What this means is that a DataGrid, for example, can be populated by the contents of an ArrayCollection (for CF'ers, think of an ArrayCollection as an array of structures). The first step is to declare the variable as bindable in your <mx:Script> block:

[Bindable]
	private var myArray:ArrayCollection;

Your DataGrid would then be declared as follows:

<mx:DataGrid dataProvider="{myArray}" id="myDataGrid">

The curly braces around the value of the dataProvider attribute indicates that it's a bindable variable. All pretty straightforward. But there are other ways to use bind variables to influence the behavior of an element.

Read More...
Comments (5) | 2597 Views
18
Apr
2008

Last night I started documenting my journey of learning Flex, focusing on my use of the built-in Object datatype and some issues that I faced in that respect.

There was one other aspect of this that I meant to touch on. To recap, I was passing a single Object to a ColdFusion CFC method. In my little ColdFusion brain, I thought of this as being not unlike a structure. So, I expected the method to receive a single argument much like a struct with multiple keys.

Let's say my ActionScript function looked like this:

var args:Object = new Object();
args.stateCode = "CA";
args.zipCode = "94583";
args.territory = 3;

// call the remote object method
ro_Customers.getFilteredCustomers(args);

I created an Object, populated it with 3 variables (keys), and passed it as an argument to the getFilteredCustomers() method in my remote object (CFC). Originally, my CFC looked like this:

<cffunction name="getFilteredCustomers" returntype="query" access="remote">
	<cfargument name="filterCriteria" type="struct" required="true" />
	...

I assumed that my args Object would be able to be referenced as a structure in the CFC. It's a single variable with key/value pairs just like a struct. But when i tried to reference #arguments.filterCriteria.stateCode#, I found that the variable didn't exist.

What actually happens is that the CFC treats each value in the Object as its own argument. Think argumentCollection instead of struct.

The correct code for the CFC's arguments is:

<cffunction name="getFilteredCustomers" returntype="query" access="remote">
	<cfargument name="stateCode" type="string" required="false" />
	<cfargument name="zipCode" type="string" required="false" />
	<cfargument name="territory" type="number" required="false" />
	...

Aside from explicitly declaring each value in the Object, I set the "required" attribute to false because in this case, not all of the values may be present in the Object. A user might choose to search only on stateCode, or only on zipCode, etc.

Comments (0) | 2361 Views
17
Apr
2008

Over the past few months I've been lucky enough to have the opportunity to start playing around with Flex at work. Overall it's been a pretty good experience. I think Flex itself is a very cool technology, and FlexBuilder absolutely ROCKS as an IDE. Of course, there have been hurdles. Some I was able to overcome pretty easily, and some left scars. I figured I'd post some of them here and hopefully save some other Flex n00bs the hassle of figuring things out the hard way.

The application that I'm currently working on is fairly straightforward. Let's call it a user manager. I present a couple of comboboxes that let the user filter by certain criteria (state, zipcode, etc) and populate a DataGrid with the list of users that were returned.

I chose to pass these values in a single object. In ColdFusion, this single object would be a structure. Flex, or more appropriately, ActionScript, has a comparable datatype, simply called Object. an Object would be created as follows:

var args:Object = new Object();
args.stateCode = "CA";
args.zipCode = "94583";
args.territory = 3;

Fairly straightforward when compared to a ColdFusion structure:

<cfset args = structNew() />
<cfset args.stateCode = "CA" />
<cfset args.zipCode = "94583" />
<cfset args.territory = 3 />

Read More...
Comments (2) | 2772 Views
20
Dec
2007

santa (as channeled by mike potter) arrived a bit early at the griefer household this year.

i just got home from work to find a box from amazon waiting on the doorstep.  it was the flex 2 book by chafic kazoun and joey lott, with the following note:

Merry Christmas from the Adobe Flex Team!  Thanks for your interest in Flex.
Add your Flex app to the Flex Showcase at http://flex.org/

From: Mike Potter, Flex Team

i'd heard of this happening to others, but never thought it would happen to me (which yes, i do recognize sounds like the opening to a penthouse letter).

i'll actually be donating this to the bay area cfug to be used as a raffle giveway during the next meeting.  turns out i already had this particular book.  not sure if i forgot to move it to the 'purchased' items on my wishlist or not (it's there now... but that's either because i'd already done it, or because mike bought me the book... likely the latter).  i figure by donating it to the CFUG, it'll still be going to a good cause.  if you're going to be in the bay area for the next meeting (jan 21, 6:30 pm) stop by.  the topic is flex and AIR (ted patrick will be presenting), so it's somewhat appropriate, i guess :)

in any event, the thought and effort is very much appreciated.  thanks to mike and the entire flex team.  merry christmas back atcha!

Comments (1) | 1269 Views
23
Jul
2007

it was all very last minute... but i managed to get myself on the attendee list for flex camp this friday (27 july) up in san fran.

driving up from redlands with the family and plan to make a weekend out of it. flex camp on friday... saturday and sunday looking at potential house rentals in anticipation of the move in september. we have one appointment set up for a house in san ramon (which is where the new job is), possibly one in castro valley (if still available), and one in hayward that looks somewhat intriguing.

Read More...
Comments (1) | 1194 Views