Okay, I'm using the new Flex 4 state parameter values, such as:
<s:BitmapImage id="buttonImg" width="38" height="33" alpha="1"
source.up="@Embed('src/assets/images/tab.home.up.png')"
source.down="@Embed('src/assets/images/tab.home.down.png')"
source.over="@Embed('src/assets/images/tab.home.over.png')"
source.disabled="@Embed('src/assets/images/tab.home.disabled.png')"/>
This works fine, but I want to be able to access/change, for example, "source.up" at runtime. But, when I try to access it as in:
buttonImg.source.up = "...
I get this popup error: Cannot create property up on ...
So, is there ANOTHER way to access this?
Thanks.