0 Replies Latest reply on Oct 12, 2009 12:19 PM by CMcM00

    Flash Catalyst, the "ai" namespace, and flex internals...?


      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:


      <s:Skin xmlns:s="library://ns.adobe.com/flex/spark" xmlns:fx="http://ns.adobe.com/mxml/2009" xmlns:ai="http://ns.adobe.com/ai/2008">


      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?


      Help appreciated.