6 comments on “Title Icon For Spark Panel

  1. How do you make it so it is setable? In this instance, you would not be able to change it and you would have to make a new skin to change the icon for each icon you would display…

  2. Yes. Instead of ‘hard coding’ the image into the skin, it would be nice to be able to pass it an embedded image or provide some means to ‘set’ the icon. thanks for quick reply!

    • place this in you application File ….
      public var imagePath:String = “assets/images/user.jpeg”

      place this in your Skin File
      private var imagePath:String = FlexGlobals.topLevelApplication.imagePath;
      set the Image path in your Image Tag.

  3. That works but I dont know that it gets me to what I was hoping for which is the ability to have the icon configurable so that I can use the same skin multiple times but set a different icon in each one. for example: a panel with icon A, a panel with icon B, and a panel with icon C all from the same skin.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s