Creating a custom link type in a LinkElement
Hello,
We need to be able to have a LinkElement that shows a pop up (TitleWindow) when clicked. Before Flex 4.5 came out, we were using our own modified TLF build, which added support for this (among other things) by doing the following:
<our_name_space:a href="popup:some_popup_class">Foo</our_name_space:a>
However, having our own TLF was causing more headaches than it was worth (mainly trying to cast things as ISWFContext when embeding fonts).
Since the TLF version included in Flex 4.5 has most of what we need, we scraped our internalized version and just went with the stock build. However, I still need to be able to support the functionality described above.
What would be the best way to implement this kind of functionality? Should we just create a new element type that provides the desired functionality? Can this be done without having to internalize the entire framework?
Any advice or links to relevent reading material would be greatly appriciated.
Thanks for your time!
