Over at The Question Room (or @thequestionroom) the banditos received a bunch of tweet questions about a problem @gertjansmits was having when loading a Flex application with a SWFLoader and casting it to an interface.
They’ve called on my help to get the answer
Download the application FXP (Flash Builder 4 project) or
Run the application (Right click and View Source)
My simple interface class, TestInterface, implements 3 functions, a simple getter/setter pair and a function called sayHello.
TestInterface.as
1 2 3 4 5 6 7 8 9 | package com.flexdaddy { public interface TestInterface { function get givenName():String function set givenName(str:String):void function sayHello():void; } } |
You first need to make sure the Application you are loading implements this interface. My root application tag looks like this:
Read the rest of this entry »
This year at Adobe MAX I’m presenting on “Experiences Across Multiple Screens”. But just what is that exactly?

Experiences Across Multiple Screens
Wednesday October 7 at 09:30AM
Learn how the Adobe Flash Platform enables multiscreen delivery of applications, from the biggest screen to the smallest device. In this session, you’ll find out how to leverage the consistency of the Flash runtime and to develop reusable code and scalable interfaces that are device aware. Come and see many Flash technology enabled devices in action — the Flash runtime on smartphones, Internet-enabled media tablets, MIDs, Chumby, game consoles, and more.
Don’t forget the Adobe MAX hashtag #adobemax
And my session hashtag of #adobemax149
There’s going to be a lot of excitement this year at MAX, and if you can’t make it you don’t have to worry, all sessions will be recorded and made available online, but better yet, the keynotes will be streamed LIVE. Register now at http://max.adobe.com/online/
I’m really excited that I have the opportunity to present again at Adobe MAX, this time in Los Angeles!
For some pre-MAX reading/videos check out the following:
Slides / Demos / Special effects whiz-bangery / Where to learn more
Pixel Bender is so hot right now (having a Zoolander moment) and was a late addition to the WebDU agenda due to demand and interest from WebDU conference delegates. Geoff aptly titled the session “Mixing it up in the Pixel Bender”, but Pixel Bender can be much more than just blending (or is it bending) pixels. Either way, you can bend, warp, create, mixup, mashup not only pixels but all purpose mathematics as well, allowing you to perform complex calculations in a separate thread within Flash.
But it extends beyond Flash!
Read the rest of this entry »

Since Adobe Flash Catalyst was officially announced at Adobe MAX 2008 I’ve kept a list of my favorite blog posts, videos, screencasts and links to downloads and tutorials. Hopefully these resources will help in getting you started.
For the developers, you’ll find some interesting reads on FXG and why we have gone down this path, as well as a great post on an approach towards design patterns when developing a single application for multiple screens.
If you have other links to tutorials, screencasts, skins or other Flash Catalyst related downloads/links I’d love to hear about it!
Read the rest of this entry »
This session at Adobe AIR Camp introduced traditional HTML and JavaScript developers to the AIR SDK and how to use the the various binaries (ADL and ADT) to develop, test, and package desktop applications. The session included a basic introduction to the AIRAliases.js file and it’s importance when coding against the AIR runtime with JS.
What I find really helpful is the Adobe AIR Language Reference for JavaScript developers. This is a subset of the ActionScript 3.0 Language Reference and includes all the AIR specific features that you as a JavaScript developer can access within the AIR runtime.
Adobe Flex really is the development tool and platform of choice for developing desktop experiences on Adobe AIR. This slide deck was presented as part of a series of topics covered at Adobe AIR Camps throughout Australia and New Zealand. Take a look, download it, and share it! If anyone is interested in the demo files the Flex Builder project archive can be downloaded here.
The presentation introduces Flex Builder, the Flex framework and the AIR runtime by creating an application with a transparent window (thanks to Matt Voerman for providing the pretzel image!) that uses custom chrome and native window commands to move and close the application.
Read the rest of this entry »