3 Replies Latest reply on Oct 12, 2010 10:49 AM by Claudiu Ursica

    how to pass arguments to a component constructor

    Maximist Level 1

      Hallo, i need a little help. I am creating new component in flash builder and i don't know how to give arguments to its constructor. If a create a new component named "myComponent", i would like to pass some arguments, something like:


      var myComponent1:myComponent = new myComponent(myAgrument);


      I usually do it with as3 classes but i don't know how to do it with flex components.


      Thx for help