While playing around with Flash Catalyst 5.5 and Flash Builder 4.5 I realized it's pretty easy to get your Flash Catalyst projects onto android devices.
This tutorial will walk you through importing your Flash Catalyst CS5.5 project into Flash Builder 4.5, show you how to convert it to a Flex Mobile project, and finally run your project on an Android device.
As a heads up, I use this strictly as a prototyping/proof of concept method (no release version/to market apps). Flash Catalyst CS5.5 does not create projects optimized for flex mobile.
- Flash Catalyst 5.5
- Flash Builder 4.5
- Motorola Xoom (or other Android device running at least FP 10.2)
Although I'm not a huge fan of websites where audio begins to play immediately on application load, I wanted to try and accomplish the effect in Catalyst.
Just be sure to keep a mute or stop button front and center for your users.
We're going to use the Adobe Media Encoder to convert the audio file to a video file.
Why? Well Catalyst offers extremely limited support with audio files in 1.0. We can play them, but otherwise cannot control them (pause, stop). The video support offers much better options for controlling content.
First, choose the audio file you'd like to being immediately playing on application launch.
This post stems from a desire to 'track a visual object to the mouse' in Catalyst on rollover.
What does that mean exactly?
It means an object animates such that it appears to be following the mouse cursor.
I wanted to create a dodgeball game prototype in Catalyst, whereby the dodgeball hovered on the bottom of the screen, and followed the mouse horizontally.
On click, the dodgeball would animate and appear to bounce and hit a player.
You can achieve this mouse tracking behavior using either action sequences, or state transitions.
In this post, I'll discuss how to achieve this using action sequences.
The final outcome, should look like this:
In Flash Catalyst, you can drop scroll bars in a Scroll Panel, and they will automatically scroll the content for you. The scrollbars will scroll the content whenever someone clicks on the scroll buttons or drags the scrollbar thumb. But what if you want the content to scroll when someone mouses over a scroll button? Well, there's a way to wire that up, too (and an example, after the jump).
Sometimes you would like an action sequence to repeat in Flash Catalyst. For example, you might create an animation between two component states that you want to loop. Catalyst doesn't have a "Loop" feature, but there is a workaround.