1 Reply Latest reply on Dec 11, 2007 7:32 AM by SriScape

    centralized namespace prefixes

    SriScape
      Can I define my namespaces in a common location. I have a set of custom components, and building a swc. I am defining the namespace in each mxml file. Is it possible to define the namespace in one location so i dont have to define in each and every mxml file? If yes, how.

      Thanks in advance.
        • 1. Re: centralized namespace prefixes
          SriScape Level 1
          Seems like there is no way? It would be very nice if this feature can be added, defining the xml name space in every file is redundant, can easily become inconsistent. I have couple of libraries Util and Components. If i can define the prefix utl, cmp somewhere in a configuration file and use every where in the application, it increases readability, eliminates the chances for inconsistency.