For example, in my flex mobile application I have a portrait and a landscape state. Both with the same components, but they are being laid out using different HGroups and VGroups in each state. If i was just putting click handlers on these components it would be easy because i could just simply define the same click listener to them even if they had different IDs. But since im referencing all of these components in several situations many times throughout the application, how can i allow them to have the same id, and only react if they are in the present view?
right now it tells me "identifier 'example_id' used more than once."
edit: also just want to say im aware of how when they're not in a group, you can just do something like x.portrait="25" y.portrait=""25" but when i have them in H and V groups it prevents me from doing that.