0 Replies Latest reply on Jun 26, 2007 9:36 AM by LordPathogen

    Using external Model file for UI

      Hi, I'm creating and external .xml file for common UI strings used by labels, DataGrid headers etc. like so:

      <tooltip>The number of SRs closed in a month</tooltip>

      I reference the above in my main .mxml file like so:
      <mx:Model source="models/UI_Labels.xml" id="uiLabelModel" />

      Finally, I try to use it in the same file like this:
      <mx:Text text="{uiLabelModel.resultsGrids.closures.label}" />

      Basically, it compiles fine but when it tries to render, it hangs. Any idea what I am doing wrong here? Thanks!