1 Reply Latest reply on Mar 20, 2008 9:32 AM by Gregory Lafrance

    mxml tag map to AS function

    alejandro52
      How to do that? I can only map to public vars but i want to map to i function.

      For example i want to create a custom actionscript component with a button in it, and when i create this component in mxml to change the label of the button like this
      <comp:myCustomComp myFunction=myFunction("change label")/>

      Should i use setters and getters with a public var to change the label?