List of Flex resources and tutorials

Paranoid Ferret Productions, who themselves are a great Flex resource, have a list of the ‘Best Adobe Flex Resources and Tutorial Sites‘.

Posted in ActionScript, Flash, Flex | Leave a comment

ActionScript MVC minimalist example for PureMVC 2.0.3

I’ve updated Chandima Cumaranatunge’s excellent PureMVC walk-through to work with the latest version of PureMVC (2.0.3). Although PureMVC has extensive documentation nothing beats a simple demo for wrapping your brain around the framework. The most helpful part of Chandima’s tutorial is when he steps through the sequence of actions which includes initialization and then following a user’s gesture on a round trip through the framework.

1. The Concrete Facade class called ApplicationFacade broadcasts a STARTUP Notification.

2. The STARTUP Notification triggers the StartupCommand command object which registers the KeyDataProxy proxy, and StageMediator mediator.

3. StageMediator mediator registers a KEY_DOWN Event handler to the stage to intercept key presses. It also registers to receive KEYUPDATE Notifications.

4. User presses a key generating a KEY_DOWN Event that is intercepted by the key down event handler in the StageMediator.

5. StageMediator broadcasts a KEYDOWN Notification with the character code of the key in the notification body.

6. The KEYDOWN Notification triggers the StoreKeyCommand command object, which accesses the KeyDataProxy proxy and updates the model (data object).

7. The KeyDataProxy proxy stores the data in a data object (just a property in the proxy in this case).

8. The KeyDataProxy proxy broadcasts a KEYUPDATE Notification with the character code of the key in the notification body.

9. The KEYUPDATE Notification handler in StageMediator intercepts the KEYUPDATE Notification and traces the key value.

In my updated example I trace out each action to clarify when (and in which file) they occur. Make sure you have PureMVC in your class path before running the demo.

Posted in ActionScript, Flash, Flex | 5 Comments

PureMVC for Ruby

The PureMVC framework is considered one of the best for Flash/Flex development (definitely the best documented), I hadn’t checked out the site in a while (which has undergone an overhaul and is much improved!) and since my last visit PureMVC is now available for not only AS2 and AS3 but C#, ColdFusion, Java, Perl, PHP, Python, and Ruby as well.

I should say plans for Ruby as they are looking for a project owner to work on the port. I’d volunteer myself (famous last words) but while I love Ruby I don’t know the ins and outs of the language as well as I do ActionScript.

In any case having one framework “to rule them all” would be a great boost to productivity as you wouldn’t have to mentally switch gears between the front (Flash/Flex) and back (PHP/Ruby etc.) ends.

Posted in ActionScript, Flash, Flex, Ruby | Leave a comment

Deep linking in Flex and Flash with Django

Aral Balkan shows you how.

Posted in Django, Flash, Flex | Leave a comment

Build Flash with Ruby

Via Flex on Rails…

Using HotRuby it is possible to use straight Ruby to build a Flash app.

Posted in Flash, Ruby | Leave a comment

Adobe holding a series of online seminars this week

Info here.

Some of the more interesting sessions:

Extending Web to the Desktop with AIR
Monday, March 24, 2008
9:00 AM – 10:00 AM US/Pacific

Getting Started with Flash Lite 3 and CS3
Monday, March 24, 2008
11:00 AM – 12:00 PM US/Pacific

Building Rich Internet Applications with Flex 3
Monday, March 24, 2008
4:00 PM – 5:00 PM US/Pacific

Introduction to Adobe Blaze DS
Tuesday, March 25, 2008
9:00 AM – 10:00 AM US/Pacific

Integrating Salesforce.com and Flex
Tuesday, March 25, 2008
11:00 AM – 12:00 PM US/Pacific

Building AIR Applications with Flash CS3
Tuesday, March 25, 2008
1:00 PM – 2:00 PM US/Pacific

Adobe AIR Local Data Storage Options With Emphasis on Using Embedded SQL Databases
Wednesday, March 26, 2008
9:00 AM – 10:00 AM US/Pacific

Flex and Java – Tying the Knot!
Wednesday, March 26, 2008
4:00 PM – 5:00 PM US/Pacific

Flex Data Services
Thursday, March 27, 2008
9:00 AM – 10:00 AM US/Pacific

Blood from a Stone: Flash Game Optimization on Low-end mobile devices
Thursday, March 27, 2008
1:00 PM – 2:00 PM US/Pacific

Flex Visual Data & Charting
Thursday, March 27, 2008
4:00 PM – 5:00 PM US/Pacific

AIR Native Drag and Drop
Friday, March 28, 2008
1:00 PM – 2:00 PM US/Pacific

Flex Architecture
Friday, March 28, 2008
4:00 PM – 5:00 PM US/Pacific

Posted in AIR, ActionScript, Flash, Flex, RIA | Leave a comment

Flash game makes the jump to Wii

Defend your Castle (where you fling away attacking stick men) will be one of the first WiiWare games released.

Defend your Castle Wii version

Posted in Cool Shise, Flash | Leave a comment

Rise of the machines

The first video looks like part of a montage you’d see at the beginning of a Terminator or Matrix movie when we made our first mistake. The second one not so much.

Posted in Cool Shise | Leave a comment

Spottt needs to filter their categories

I’m trying out Spottt which describes itself as;

a free way to trade links with other like minded sites.

Spottt’s categories are somewhat generic, ‘business’, ‘fashion’, ‘pets’ etc., the closest thing to web development was ‘tech’ so I chose that category. However 50% of the ads for ‘like minded’ sites involve pictures of women in various forms of undress. Now I love me the womenz, but I don’t think “dork who blogs about ActionScript and Ruby” belongs with the CeleZone or Desi Babes – Sexy Indian Hotties.

Spottt Chicks
One of these Spottts is not like the others…

At least Crunch Gear shows up now and again, but I’d rather not have the Spottts which are visible only by black light.

Posted in Misc. | Leave a comment

Interesting Links: YUIRails, Ebb faster than Mongrel and thin

The JavaScript library I use most after prototype is YUI so a big thanks to Chetan Patil for making it much easier to use in Rails.

Ruby Inside has a post on Ebb a small and fast web server for hosting Rails and Merb applications (and soon Django).

Ebb is a small, extremely high performance Web / HTTP server designed specifically for hosting applications built upon Web frameworks such as Rails and Merb (and, in future, apps on other non-Ruby frameworks.) The design is event based (similar to that used by Ruby daemons that use EventMachine) but Ebb itself is written in C and dispatches requests to Rack adapters. This is a real leapfrog over the popular Mongrel and Thin daemons which are primarily written in Ruby, and results in scary levels of performance.

Posted in Ajax, JavaScript, Merb, Ruby on Rails | Leave a comment