Mike Chambers

code = joy

Implimenting Offline Web Content with Gears LocalServer API

with 3 comments

I spent the afternoon playing around with Google Gears in order to get a basic feel for how it works. Specifically, I wanted to see how much work it would take to add support for offline viewing for tostring.org (an online book site).

I used the Gears LocalServer API which “allows a web application to cache and serve its HTTP resources locally, without a network connection”. The implementation can be though of as a small web server that intercepts requests for remote resources and serves them (seamlessly) from a local cache. This has a couple of advantages:
Read the rest of this entry »

Written by mikechambers

September 5th, 2008 at 12:41 am

Posted in General

Adding custome query argument support to jQuery Autocomplete plugin

without comments

I have been playing around with the jQuery Autocomplete plugin to get it working with the ActionScript 3 documentation API that I posted about earlier today.

The Autocomplete API is really nice, and pretty flexible, but one issue I ran into is that the query argument containing the user input that is passed to the server is hard coded to “q”. For my api, I needed this argument to be “api”.
Read the rest of this entry »

Written by mikechambers

September 3rd, 2008 at 9:49 pm

Posted in General

ActionScript 3 API Service on Google App Engine

with 4 comments

I have just uploaded a new ActionScript 3 reference / online documentation API to Google App Engine. Basically, the service takes an ActionScript 3 class name (or a fragment of a class name) and returns the URL for the online documentation for the specified class.

For example:
Read the rest of this entry »

Written by mikechambers

September 3rd, 2008 at 3:08 pm

Posted in General

Firefox Ubiquity Command : fyi

with 29 comments

I have just created a new Firefox Ubiquity plugin command named “fyi”. The command makes it super simple to email info about a web page to anyone.

I wrote the command because I am often finding myself forwarding URLs to friends and co-workers. This is normally much more tedious than it needs to be, involving the following steps:
Read the rest of this entry »

Written by mikechambers

August 31st, 2008 at 8:42 pm

Posted in General

Data Binding with FXG in Flex 4

with 4 comments

One of the cool things about FXG is that it works with Flex data-binding just as your would expect it to.

Below is a simple example (which requires Flash Player 10 RC), followed the code, that shows data-binding with FXG and Flex 4:
Read the rest of this entry »

Written by mikechambers

August 29th, 2008 at 1:00 pm

Posted in Flex

Tagged with

Defining and Reusing Symbols in Flex 4 FXG

with one comment

If you have done Flash development using the Flash Authoring tool, or have done any low level work with the SWF format, then you should be familiar with the concept of symbols. Basically a symbol is a reusable object (graphics, buttons, MovieClip) that can be included in the SWF once, but referenced and used many times.

Flex 4 FXG has a similar concept of symbol, although the actual underlying implimentation is different. Using the Library and Definition elements, you can define a graphic symbol, which can then be reused multiple times within the FXG or MXML document.
Read the rest of this entry »

Written by mikechambers

August 29th, 2008 at 10:04 am

Posted in Flex

Tagged with

Getting started with Flex 4 FXG and Flex Builder 3

with 8 comments

As I mentioned the other day, the Flex team has released a ton of information on Flex 4. One of the new features which I am most excited about is the FXG graphic format being developed.
Read the rest of this entry »

Written by mikechambers

August 28th, 2008 at 3:00 pm

Posted in General

New Adobe AIR Book Language Translations

with one comment

Just a quick update on the tostring.org site which hosts the Adobe AIR for JavaScript Developers Pocketguide and the Adobe AIR for Flex Developers Pocketguide. We have been receiving a lot of translation contributions from the community, and posting them on the site.

New language translations include:
Read the rest of this entry »

Written by mikechambers

August 27th, 2008 at 2:50 pm

Posted in General

Everything there is to know about Flex 4 / Gumbo

with 15 comments

About a month ago, the Flex team announced that nightly builds of the next version of Flex (code named Gumbo) were now available on the opensource Flex site. Along with early versions of the SDK, the team also posted a ton of other information, including specs and API docs.

Below is a listing of links and resources about Gumbo / Flex 4. Going through these will quickly get your up to speed on what is being worked on in Flex 4, and get your ready for playing around with the new builds.
Read the rest of this entry »

Written by mikechambers

August 27th, 2008 at 11:06 am

Posted in Flex

Tagged with

Adobe AIR Error Codes

with one comment

If you run into an error with Adobe AIR, and get some cryptic error codes, you can find info on what those error codes mean in the following documents:
Read the rest of this entry »

Written by mikechambers

August 26th, 2008 at 11:17 am

Posted in General