Home » Adobe, Flash Catalyst

Optimizing MXML code in Flash Catalyst “Panini” - Part 9:
Develop Mobile apps with Catalyst?

21 February 2011 No Comment

Is the code generated so far suitable for mobile applications??

You need to read previous chapters in order to understand this article.

-

In this tutorial we used Flash Catalyst to create custom components and convert the Illustrator layout into several native components (Scrollbar, DataList, TextInput, ScrollPanel).
We also included transitions and interactions trying also to optimize the MXML code generated by Catalyst for it to be of good quality and well structured, dividing the application into different components.

Although, as we saw, Flash Catalyst can be used to create prototypes or even complete web sites and applications, from my point of view, the biggest advantage of using this software is that you can easily skin individual components to reuse in Flash Builder.
We will see in a future tutorial how to use this code in Flash Builder.

MOBILE APPLICATIONS IN CATALYST?

From the Flex SDK 4.5 you can create mobile applications for Android, BlackBerry and IOS devices.

Although the MXML code generated by Catalyst can be used in mobile applications to skin components or create application Views, the project we developed in this tutorial is not suitable for this purpose. Here are some considerations:

  • First, the newer versions of Flex include components and themes for mobile applications.
    So, often you won’t need to use Flash Catalyst to skin components such as the scrollbar or input fields because you will already use the default assets.
  • ItemRenderers generated by Flash Catalyst DataList components are not optimized for mobile devices and the performance might be affected significantly. Currently, in mobile Flex applications, List-based components should only use the default itemRenderer available in the Flex SDK 4.5 or higher that are optimized for mobile devices or, alternatively, create itemRenderers entirely in ActionScript 3.0.
  • Flex 4 Burrito provides the ability to create Mobile Projects that already manage the ActionBar and Application Views through specific classes.
    As a result, the code generated by Catalyst although still useful for implementing custom graphics, will require some manual changes to be integrated into a Flex project Mobile.

-
WHERE TO GO FROM HERE





-
RELATED ENTRIES

Leave your response!

Add your comment below, or trackback from your own site. You can also subscribe to these comments via RSS.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="">

This is a Gravatar-enabled weblog. To get your own globally-recognized-avatar, please register at Gravatar.