This content has been marked as final. Show 3 replies
Try making your class implement IFocusManagerComponent. If your class is an actionscript class, you can just add, "implements IFocusManagerComponent" to your class statement. If its an MXML component, you'll need to add the following attribute to your canvas:
You won't have to add any methods to complete the implementation. UIComponent implements them all for you, but without declaring that your class implements that interface, FocusManager won't take control of your component and dispatch the correct events.
Hope that helps.
That sounds like (without having tried it out yet) exactly what I need.
Thanks a lot!
I also found this to be useful. Not exactly what I was looking for, but it might be a more appropriate solution for this (or certainly other) problems.
Hmm... Still no luck.
I guess that was sort of what I was asking for, but I still can't get it to do what I'm trying to do.
Essentially, I want to change some properties when the component (in the list) is selected, and when I select a new component (still in the list), I want to change those properties again (ie: reset them).
I can't help but think I'm overlooking something simple here...