I'm relatively new to flex and have been banging my head
against the desk trying to work out how to load components through
a single function using a string passed in, casting that as the
component and then adding it as a child. (Apologies if all those
terms are wrong but there we go).
So for example I have a menu bar that passes the data out to
the handler and then that sends it to a function that adds windows
to flexmdi as you can see in the code. However I've tried and tried
to get it to reference the components and load them using all sorts
of functions but really could do with an example as I'm stuck.