The MXML is not available at runtime as part of the SWF. But, the Flex Framework has a very extensive layout engine / framework, so it should be pretty simple to re-layout your application via ActionScript at runtime.
As far as changing background colors (or other things like that), that is very simple and you can do it in a number of ways. You can embed the assets at compile time (just like a library) and use them at runtime, or you can load them at runtime (you can control all of this via CSS). So, you have a ton of flexibility at runtime (it is one of the things that make the framework so cool), which doesn't require the server. mike chambers [EMAIL PROTECTED] Jim Kremens wrote: > I have a question about FlexBuilder 2.0. > > Once you generate your mxml and compile, is that mxml available to you > at runtime? In other words, could you, for example, reconfigure the > layout of your Flex movie without recompiling it? Or perhaps, based > on some passed in variable, use different background PNGs in your > widgets? > > Flex allows you enormous Flexibility at compile time, I guess the > question is - how much flexibility does it offer at runtime? Or is > that kind of flexibility reserved for users of the Flex server... > > Jim Kremens > > _______________________________________________ > osflash mailing list > [email protected] > http://osflash.org/mailman/listinfo/osflash_osflash.org > _______________________________________________ osflash mailing list [email protected] http://osflash.org/mailman/listinfo/osflash_osflash.org
