1 Reply Latest reply on Jul 4, 2006 9:19 AM by Peter Lorent

    AS class file - error defining dynamic component method

    ufitzi Level 1
      In the constructor of my custom class, I have a loop set up that creates a number of CheckBox instances based on the results of a remoting query.
      This loop works fine, and I see the new component instances on the stage.
      However, when I try to define the "click" method for each of those checkboxes, I'm getting a compiler error:
      "There is no property with the name 'click'."
      I've included the CheckBox class using the import statement at the top of my AS file (import mx.controls.CheckBox;).
      Here is the block of code throwing the error: