阅读背景:

将属性公开给Spark Skin类

来源:互联网 

I am having trouble wrapping my head around the spark skin class in relation to it's host component. Basically, from what I've seen with most every skin that comes in the Flex 4 framework they don't directly expose the properties that are dynamically being set in the host component. Instead, they define states that get exposed to the skin class to define when a component should look different. This is all fine and dandy when you have a very simple component with a standard set of states, but when you have twenty different properties (hypothetically) to set in your host component that should change how the skin looks it could get very complicated very fast.I am having trouble wrapping my head around the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: