2 Replies Latest reply on Aug 17, 2008 6:08 PM by squirrelyCode

    how to access id property

      I have created my own class NoCacheService in AS-3 that extends httpService. It works fine. I invoke in a .mxml file via:
      <utils:NoCacheService id="xyz" url="/url/here" resultFormat="e4x" result="resultHandler(event)" fault="faultHandler(event)" />

      Now, I want to display some error messages from functions within the NoCacheService class that include the id. I assumed this would be trivial. Something like this.id + "error message". But no....

      I am new to flex, so must be missing something obvious. How to do I access the id property given in the mxml component declaration from within the actionscript?