A nice "one more thing" announcement at Adobe MAX this morning: Flash Professional CS5 will enable you to build applications for iPhone and iPod touch using ActionScript 3. These applications will be delivered to iPhone and iPod touch users through the Apple App Store.
So while this is extremely exciting (as in, I just became an iPhone developer in 5 minutes this morning exciting) there are a few things to note:
1. This is only for standalone applications - meaning iPhone/iPod Touch applications that you download from Apple's App Store either on your phone or via iTunes. It does not include Flash played via the Safari mobile web browser. So no online Flash video just yet. Ryan Stewart, an Adobe Platform Evangelist tweeted the following today during the keynote: "When Apple is ready to bring the full Web browsing experience to iPhone users, we'll be ready to bring Flash Player to Safari."
2. You cannot load external SWFs into the apps you compile for the iPhone. The official line on this is: "iPhone applications built with Flash Platform tools are compiled into standard, native iPhone executable packages and there is no runtime interpreter that could be used to run ActionScript bytecode within the application." But in reality, Adobe is just staying within the limits imposed by Apple and their "no running other bytecode in apps" rule.
3. This won't be available until Flash CS5 is released. The good news here is that a public beta of Flash CS5 will be released before the end of 2009.
While I certainly didn't grow any fonder of Objective-C today, I did learn quite a lot. During the eight hour session we covered a pretty wide range of topics and tasks. First Julian gave us a few hour Objective-C overview before we all took the virtual pet example from Colin Moock's Essential ActionScript 3.0 book and coverted it to Objective-C. This was a great task since everyone in the room knew AS3 and was more than likely familiar with the virtual pet example.
After a break for lunch we all jumped into some quick equivalents of ActionScript 3 code in Objective-C, and then used those examples to build a sample application with some animated images, touch events (taps and dragging), audio. Lastly Julian gave an overview of Interface Builder and then went over some general tips and tricks.
I've been using the update for a few hours now, and it certainly makes Flash seem a bit snappier. In addition, my initial tests are showing that the OS X Spaces bug with Flash has been fixed. This was a major annoyance for me, and several other developers based upon the popularity of my blog post on the subject.
Thanks to Adobe for listening to customer feedback and working hard to get this update out as soon as possible.
Update: Based on comments below and other feedback I have received, it appears that the Flash CS4 update alone does not fix the Spaces issue for everyone. However, the combination of the latest Apple OS X 10.5.7 update (released 5/12/2009) and the Flash CS4 update seems to do the trick.
You can also replace CS4 with CS3 for your flavor of choice.
Once installed, select the object on the stage that you wish to locate in the library and is likely buried way, way deep inside nested folders that the Illustrator to Flash process created. In the toolbar choose "Commands" and then "Find in Library". The object will now be highlighted in your library panel. Digging for the symbol no longer required.
I'd like to point out that I am not claiming to have written this script, but I found it on some site far, far off on the Internet and which I can no longer locate to provide credit where credit is due. I do remember, however, it was provided "free and open source", so all should be well.
Mike Chambers from Adobe just released a new iPhone app for viewing the ActionScript 3 documentation.
The app includes class references for Adobe AIR 1.5, Adobe Flex 3.2 and Flash Player 10. I've been testing it this weekend and it has run great.
There is more information on Mike's website for the app, including a download link for the iTunes App Store. If you want to install the app directly on your phone, you'll need to search for "Mike Chambers" to find the app while it works its way into the App Store search.