Flex 4 Targeting Components that were created at run time
-
30-10-2019 - |
Question
I have some components that are created at run time, I would like to execute functions in those components during certain parent events.
Problem is this only works with components I create before runtime.
EG I can go this[SomeComponent].BorderShow(); if SomeComponent was already in the code.
How ever if I add new components to the stage on the fly I cant go
this[SomeNewComponent].BorderShow()
Can someone please advice how I could pass a function the name of component as a string and then have said function execute a function or method from the component.
Please and thank you C
No correct solution
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow