Your handler listens to the host and calls invalidateDisplayList on the skin? That should be sufficient. Post the relevant code.
Actually my handler is in the host. It calls invalidateDisplayList on the host component.
Should I instead add a "show" event listener on the skin, and then call invalidateDisplayList in the skin handler method?
What do you mean when you say "your handler listens to the host, and calls invalidateDisplayList on the skin"?
Should the event listener be added to the host component or the skin, and should the handler be in the host component or the skin, and then how would it call invalidateDisplayList on the skin?
I'm away from my coding computer and cannot post code, but I appreciate your help with this.
1 person found this helpful
Try directly invalidating the skin.
in the host on the "show" event, call skin.invalidateDisplayList() & skin.validateNow(). Skins are extended UIComponents and support all the Flex lifecycle methods.
Duhh. I guess I should have expected I could access the skin directly from the host component. Thanks !!!
Glad I could help.