This content has been marked as final. Show 4 replies
I can do that from within the class.
Sorry I should have been more precise, I need to access these objects from other objects dynamically. I want to be able to do a search on whatever container holds these generic objects (say based on thier type or some property value) and get references to them.
In some ways it is similar to populating data structures which I have been doing in AS in script blocks. The difference is that it is in MXML and populates a class which has methods naturally.
PS: come to think of it I have not tried programatically searching arrays etc defined... (I have been just databinding arrays so far) I would guess that the solution for finding classes is the same as for the AS arrays as they are all Objects....
Please note that mxml file in runtime become object of the class and you can access it by saying objRef.id