I'm trying to figure out what Catalyst has done in my project from an Illustrator comp I imported through Flash Catalyst.
I went through the process of designing my own Button component in Illustrator, and assigned the artwork as a button in Catalyst. When I look at the generated Button1.mxml file for the button, it begins like this:
This makes sense to me except for this reference to the namespace "ai". I can't seem to find any documentation as to what the ai namespace is or what's contained in it. It obviously must relate to Illustrator in some way, but I can't find any file included with the project that defines this namespace to the compiler or what components or properties are available through this namespace.
I do see a couple of components using the ai namespace though:
<s:Group x="17" y="7" ai:knockout="0">
<s:BitmapImage width="23" height="21" source="@Embed('assets/myProject/ai12508967111.png')" ai:knockout="0" resizeMode="scale"/>
So apparently there's a knockout property defined. What other features are available through the ai namespace? I looked through every manifest xml file and all of the included .swc files for clues but found absolutely nothing. How does Flash Builder even know about this uri?
I believe you can ignore the ai namespace. Attributes in this namespace are considered to be "application private data" and are ignored by the compiler.
In mxml 2009, you can decorate tags with attributes scoped to
arbitrary namespaces. The ai namespace is one used by illustrator to
remember additional data used when the artwork is roundtripped back
into illustrator. It is ignored by the flex compiler.
Sent from a teeny tiny phone