Archive for May, 2008

HELLO WORLD,

My second presentation, Tweens, Behaviors, View States, and Transitions, was a lot of fun. You can find and download the full source, docs, and lab exercises by going to my Presentations page;

https://therush.wordpress.com/my-presentations/

Feel free to contact me should you have any questions or comments.

Thanks!

<endPost/>

HELLO WORLD,

My first of four presentations, Consuming and Creating RSS Feeds, is now “in the can”. You can find and download the full source, docs, and lab exercises by going to my Presentations page;

https://therush.wordpress.com/my-presentations/

Feel free to contact me should you have any questions or comments.

Thanks!

<endPost/>

HELLO WORLD,

Have you registered to attend the WebManicas Conference coming to Washington, DC May 19th – 23rd? Why Not? Well maybe this will help you …

My Top Ten Reasons To Attend WebManiacs!

#10 – Over 100 separate topics covering ColdFusion, Flex, AIR, various frameworks, and other technologies.

#9 – A Ben Forta keynote on day one.

#8 – Several two hour hands-on sessions held in their computer lab.

#7 – My kids took all of tee shirts I got from the last conference I attended.

#6 – Very close to public transportation, many restaurants, and our nation’s capital.

#5 – My presentation titled; Consuming and Creating RSS Feeds (CFManiacs Track)

#4 – My presentation titled; Tweens, Behaviors, View States, and Transitions (FlexManiacs Track)

#3 – My presentation titled; Using Custom Events (FlexManiacs Track)

#2 – A “boat load” of presentation materials and source code that can help jump-start your development efforts.

And The Number 1 Reason to Attend WebManiacs!

#1 – Surround Yourself With Dozens Of Colleagues And Industry Experts Who Love To Talk About Battlestar Galactica And LOST As Much As You Do!!

See ya at the conference … then I’ll see ya at the pub.

<endPost/>

HELLO WORLD,

I do a lot of traveling across the US (I’ve driven across the US 3 times already) and I love to stop at small town restaurants along the way. Once you leave the big cities and head for the country-side, the one constant I find at these small country restaurants is the table game Peg Solitaire. I can spend hours playing that game.

Now Just Killing Time Games has release a version of the game called Jump! – built using Adobe AIR. They also provide an on-line version (written in Flex) that allows you to try it on-line before downloading and installing it.

Check it out at http://www.justkillingtimegames.com/.

It looks like the site is still a work in progress … but aren’t we all 🙂

<endPost/>

HELLO WORLD,

We are less than a month away from WebManiacs 2008, the ultimate conference for Adobe ColdFusion, Flex, and AIR developers.

During this 5 day conference there will be many session topics for beginning, intermediate, and advanced developers. I will be hosting two of the many presentations, one CF/AIRManics topic and one Flex/AIRManiacs topic.

Today I would like to give you a preview, a snippet, of my Flex 3 presentation called Using Custom Events.


Using Custom Events

Exploring The Event Object

Each time an event is fired within your application, the Flex framework creates and passes a special object called an Event Object to your handler function. Every event object contains standard information about the event that occurred such as; the type of event that fired and its target.

If we take a look at the Flex Button control we can see that the component will dispatch to three standard events;

  • buttonDown,
  • change, and
  • dataChanqge

The Button control also inherits many other events from its ancestors. Events such as;

  • click, and
  • doubleClick,

and several others are inherited from its parent class InteractiveObject. While events such as;

  • dragDrop, and
  • dragEnter

and several others are inherited from its parent class UIComponent.

These events are dispatched in response to either user interaction or programmatic change. The most common of these is the click event. Let’s take a look at an example.

[FLEX EXAMPLE]

(Full source will be available during my presentation)

In this example you get a glimpse of the information that is contained within the MouseEvent object. The click event follows the mouseDown and then the mouseUp events. One of the standard properties of the MouseEvent object is the currentTarget property. This property simply identifies the object (the Button component in this case) that is current recipient of the dispatched event. Other useful properties are as follows:

ctrlKey:

indicates if the CTRL key was pressed at the time the event was dispatched

shiftKey:

indicates if the SHIFT key was pressed at the time the event was dispatched

commandKey:

indicates if the COMMAND key (Mac only) was pressed at the time the event was dispatched

controlKey:

indicates if the CTRL key was pressed at the time the event was dispatched

Armed with information like this you are now ready to provide a greater degree of interactivity within your Flex application. But what if you needed to pass more information than the standard event object provides? You can create your own event object, populate it with whatever information you need, and pass it to your event handler. In the second half of this presentation I will show you how to create and use your own custom event object.


It’s not too late to register for the WebManiacs conference, on May 19th – 23rd. Visit the WebManiacs 2008 website and see what it has to offer. You can also receive a DISCOUNT for the conference by using code TR50 when you register on the site or call 202.797.7711 extension 116.

<endPost/>