Search Flex Samples

Bug: SWFLoader doesn’t load in TabNav / ViewStack

This is bug report SDK-11280 where having a SWFLoader in multiple views of a TabNavigator or ViewStack doesn’t work correctly. Take the following code:

In this example, the first loader will show up fine. When you switch to the second view, you don’t see anything.

Solution: Add a minWidth and minHeight to your SWFLoader. This will solve your problem -


Related Flex Samples

Learn Flex: Flex Samples | Flex Video Tutorials Flex Examples