Perform Adobe LiveDocs and Development Help Searches Right From your Browser

picture-2I was talking with John Musser today about OpenSearch and the ability to add various search engines to your browser. I had assumed there was some special sauce that made it possible to use Google/MSN/Yahoo/Wikipedia directly from your search bar, but in talking to John I discovered that it’s pretty easy to do. I was going to create one for Adobe’s developer help and get a whole lot of kudos, but we’ve already got it!

If you want to add Adobe’s community search to your browser search bar, just search for something on the Adobe community site and you should get a popup offering to add it to your browser. If you don’t, in Firefox you can just click the little down arrow in your search bar (on the right hand side) and there should be an option to add Community Help to your search bar. Easy access to help content!

Getting Started With Cocomo Article Up

The Adobe Developer Connection just posted my Getting Started with Cocomo. It takes you through setting your first application up, how to provision rooms, and how to get them ready for use by other people. The Cocomo team is very, very good at monitoring the forums, so once you finish the easy stuff, if you have questions, you’ll be able to get an answer there.

I’m hoping to have a post here about using the File sharing features of Cocomo this week, so if you’re interested in that, stay tuned.

MAX Keynotes and Cocomo Sessions on Adobe TV

Adobe TV has posted some great content. We’ve got the first two keynote sessions (Day 1 here, and Day 2 here). Those are both worth it just for the sweet introduction animation.

Two Cocomo sessions are also up from MAX. I’ve been digging into Cocomo the past couple of weeks and am really, really digging it. I think this is going to kick ass for Flex developers, so check out the sessions if you’re interested in adding collaboration and real-time communication to your apps.

Multitouch AIR Applications with Intuilab

While at MAX Milan I got to stop by Intuilab’s booth to check out what they’re doing – and it’s awesome. They’ve built an entire multitouch solution, from the actual hardware to the platform which uses AIR. It’s a really cool example of people taking the Flash Platform and extending it. Enjoy the video!

intuilab_multitouch

Getting Code Completion on Custom Events in Flex with the Event Metadata Tag

I was working on an application today and noticed that one of my classes wasn’t giving me code completion on the events when I called the addEventListener method. The reason is pretty simple but I figured blogging it would help keep it in my mind. Plus, I’ve never been as solid on the metadata tags in Flex as I should be.

In order to create the custom event I created a class which extends EventDispatcher. This allows me to call the dispatchEvent method for the class and bubble that up to the application. So I create a new variable and instantiate it with the constructor, add an event listener for my custom event, then call the method which ultimately dispatches the event:

var str:String = fr.data.readUTFBytes(fr.size);
var xml:XML = new XML(str);
gpx.addEventListener(ParseEvent.PARSE_COMPLETE,onGpxParseComplete);
gpx.load(xml);

That’s pretty standard. But when I typed addEventListener and went to create a method to handle the event, I just got the default events for the EventDispatcher class, activate and deactivate.

In order to get code completion, you have to add the Event metadata tag to the class that is extending EventDispatcher. The Event metadata tag takes two parameters, the name and type. The name attribute just refers to the name of the event, in my case, the value of my static const. Type is the name of the event class. So for my ParseEvent with a PARSE_COMPLETE event name, I just add the following metadata to the class that extends EventDispatcher:

[Event(name="parseComplete", type="com.adobe.gpslib.gpx.events.ParseEvent")]

Metadata is a powerful part of the Flex framework and is something well worth looking into.

ActionScript GPX Library Updated

Simeon and I (mostly him) have been doing some work on our gpxas3 library, which lets you read and write GPX files from GPS devices. I haven’t really talked about it at all but I’m starting to use it in some of my demo projects and Simeon just checked in some changes to the trunk so I thought I’d do a quick blog post.

The library supports both GPX 1.1 and GPX 1.0 and has support for synchronous parsing of files as well as asynchronous parsing. I’m pretty sure most of the GPX generator code works but I haven’t tested it recently so there may be some bugs. On the todo list is to clean it up so I can generate decent ASDocs for it and get extensions ironed out.

Getting Started with Flash Catalyst Tutorial

In this tutorial we’re going to go through the steps to create a microsite for my fake mountaineering guide service. It will take you through most of the things you can do with the Flash Catalyst MAX Release. To start, you’ll need to have Flash Catalyst installed, Photoshop CS4 installed, and you’ll need to download the PSD file here. This tutorial is also available, with some minor changes, as a screencast (thanks to the screencast godfather, Lee Brimelow).

Continue reading

Presenting Flash Catalyst at San Flashcisco on January 15th

I’m going to be down in San Francisco on the 15th to present Flash Catalyst to the San Flashcisco user group. If you’re interested in checking out Flash Catalyst and asking questions, stop by. I’ll also have MAX DVDs for those of you that weren’t able to make MAX but still want to jump in. If you’re interested, please RSVP. Chris Tower from current.com will also be there, so it’s going to be a great meeting.

When: 6:00 PM, January 15th
Where: SFSU Downtown Campus,
835 Market Street,
6th Floor, Room: 627
San Francisco,
CA 94103-1901

See you there!

Barack Obama using a Flex Application on Change.gov

Regardless of your political leanings, this is pretty cool. Change.gov is using a blist spreadsheet on the donor page. blist has two great things going for it. One, it’s among the coolest Flex applications out there. Two, it’s one of the great Flex/RIA companies here in Seattle. This is a really great example of how powerful it can be. Congrats to the blist team. I swung by their offices and have a video I’ll be posting later tonight thanks to some encoding help from Lee on another project.

Flash Catalyst Performance Tricks

I did two main things over the break: learned C# and played with Flash Catalyst. For the first, I highly suggest Head First C# – great, great book. With the MAX announcements I got excited about the Flex and C# worlds coming together so I’m looking to pump out some data services examples with the new .NET stuff. But I also wanted to make the most out of Flash Catalyst and since it’s an early build, I noticed that as the content I created got more complex, Flash Catalyst slowed down. So I asked Cory West, the engineering manager for some performance tips when using Flash Catalyst. A couple of these are pretty obvious, but if you’re running into issues, it’s good to keep these in mind:

  1. Turn off “auto effects” for all your transitions. This is a two-step process for an existing document: 1) from the “Timelines” menu, make sure “Auto Effects for New Transitions” is UNCHECKED, and 2) make sure auto effect generation is off for all existing transitions (this is the weird toggle button on each transition that looks like an alien radiator)
  2. Minimize the number of states in your document.
  3. Minimize the number of objects you create.
  4. Avoid using VERY large bitmap images unless you have a TON of RAM.

I’ve also got an in-depth walkthrough/tutorial that I’ll be posting here in text form and screencast form that should help cover most of the features in the MAX release.