1 Reply Latest reply on Dec 21, 2010 4:50 AM by saisri2k2

    Accessing to custom skin objects

    Miroku_87 Level 1

      Hi everyone,

      I made a custom skin for a spark button with both icon and label.

      Now I want the icon source to be editable from the code once instantiated the button class.

       

      Button Skin Class

      http://pastebin.com/bH77w2jV

       

      Button Skin Definition:

      http://pastebin.com/3UpchPTV

       

      Button Component definition:

      http://pastebin.com/h2AEb1mC

       

      Using button:

      http://pastebin.com/K2GSnJYd

       

      the problem is: I don't get any change on my button.

      No icon shows up.

      It's like the imageDisplay in MetropoliMenuButtonBase has nothing to do with the imageDisplay image component in the skin.

      Ho can I connect them?

       

      thank you in advance