3 Replies Latest reply on Apr 30, 2010 10:19 AM by levancho

    Functions as parameter ?

    daslicht Level 2

      Hi,

       

      how toprovide a function as parameter for a custom mxml component?

       

      Something like this:

       

      <my:Panel id='A' myFunction='{this.myFunctionA()}' />
      
      <my:Panel id='B' myFunction='{this.myFunctionB()}' />
      

       

       

       

      Any idea how to solve this challenge ?

       

      Cheeres Marc