4 Replies Latest reply on Aug 11, 2008 1:32 PM by zoran_101

    AS 3.0 how to set event target?

    zoran_101
      Hi,

      I am trying to execute an event on a specific target and I am not successful in doing this in AS 3.0 since event.target is read only. Here is the scenario:
      - I have a button and the path to this button is:
      DataEntry0._UpdateDeleteProd1.Form10.FormItem102.HBox103.Button104
      I know this because I did install a listener to and when I clicked I recorded the path.
      - I would like to execute a click programmatically on that path by just creating an event and setting the target to that button (DataEntry0._UpdateDeleteProd1.Form10.FormItem102.HBox103.Button104) however I don’t know how to set the target. Can anybody help or point me to the right direction so I can do this.

      Thanks…