Accessibility

Trevor McCauley

Trevor McCauley

Adobe

Table of Contents

Created:
16 April 2007
User Level:
Beginner
Products:
fireworks
flex

Creating rich symbols for MXML and Images export in Fireworks CS3

Using the MXML and Images export feature in Fireworks CS3, you can convert a layout in Fireworks into an MXML document for use in Flex. This export takes the Flex components in Fireworks and converts them into their respective MXML tags in the resulting MXML. Though the possibilities for this are numerous, Fireworks only comes with a subset of the components available in Flex. Each of those components also only has a limited number of properties that you can edit to be carried over into the MXML. What if you need more? What if you want to make your own components?

Thankfully, the MXML and Images export feature was designed to be able to work with more than just those Flex components that come with Fireworks. With a little bit of JavaScript, you can make your own rich symbols that can represent custom components in an MXML and Images export. Read further to learn how.

Requirements

To make the most of this tutorial, you'll need the following software and files:

Fireworks CS3

Flex Builder 2

Sample files:

Prerequisite knowledge

Before reading this article, you should have a basic understanding of working with JavaScript and know how to create a custom rich symbol in Fireworks. You should also be familiar with MXML, how it is used with Flex, and how a Fireworks document can export to MXML using the MXML and Images export feature.

About the author

Trevor McCauley is a quality engineer at Adobe Systems who works heavily with Flash and Fireworks. Prior to working at Adobe, he worked as a developer for a production company creating various kinds of multimedia and web-based content. In his free time, Trevor develops Flash and Fireworks content for his personal site, senocular.com, and moderates forums on popular Flash-related sites such as Kirupa.com, ActionScript.org, FlashKit.com, and UltraShock.com.