Using Flex SWFs as Component UI or in J2EE Tapestry
Flex and Flash swfs have some small differences in how they work. While Flex produces a 2-frame swf, it doesn’t work quite right in certain situations. If you’ve got a project where Flash or an AS3 project in Flex/FlashBuilder produces SWFs that work just fine and Flex/Flashbuilder MXML-based swfs don’t (if you can right click your partially loaded MXML-based swf and say play and it works), this will probably solve your problem.
Anyone building Custom UI components in Flash might be thinking about using Flex, which, until today would prove difficult. I’ve got some other tutorials out there on how to use Flex UIs in Flash, but they were missing a big part–embedding capability.
Now that we can bypass the preloader in flex, we can use this same process to kick-start our Flex files when using them in Flash or in Tapestry (I assume Tapestry works, please let me know if it doesn’t).