1 Reply Latest reply on Jun 17, 2008 12:49 PM by CBrasfield

    XML Node Access from another file

    CBrasfield Level 1
      I'm trying to access different areas of two different xml files. Well, one is a mxml file. Anyhoo, here's the code in my main file:
      <mx:Label text="{cat.product.(@productId==???).name}" fontWeight="bold"/>
      I'm accessing xml file cat.xml that has nodes product and name. I'm populating a tilelist component with said file. When the user clicks on the button in the tilelist readout, I have the state view change so they can see the details of the tile they clicked on. However, I need to know what tile to properly display the details. So, how can I populate the productId field based on the tile the user chose?

      Thanks