PDA

View Full Version : Dynamic MXML with ActionScript


Achernar
12-30-2006, 05:14 AM
I was wondering if there is an equivelent to document.write in Actionscript?

Is it also possible to dynamically write mxml in the same way you can use say .innerHTML to dynamically write HTML in javascript.

If so can you point me to any examples of this being used?

dr_zeus
12-30-2006, 08:33 AM
The SWF format has no knowledge of MXML. It's merely a useful development tool for layout and such. The Flex compiler actually converts your MXML to ActionScript as part of the compilation process.

Achernar
12-30-2006, 04:56 PM
Ok no probs. Thanks for the prompt answer.