2 Replies Latest reply on Oct 12, 2011 1:56 PM by mattdwm

    Can you call a public method in a custom skin?

    mattdwm Level 1

      I made a custom skin for a button. In the skin there's a method to change some text. Can I call this method from my application?


      I get an error message when I try to call it like a normal object:




      Error 1061: Call to a possibly undefined method setNewPhotosLabel through a reference with static type spark.components:Button.