Hi Ben, but what if I'd like to include some MXML ? Is it possible?
Thank

-David




________________________________
From: ben gomez farrell <[EMAIL PROTECTED]>
To: [email protected]
Sent: Friday, November 28, 2008 4:09:14 PM
Subject: Re: [flexcoders] sailorsea21 - is there an "include" command in Flex 
that acts likes PHP include?


yah its real easy just do a script block, but point to a source instead 
of enclosing it in a cdata block.
So something like <mx:script source="mycode. as" />

The included code wouldn't be a class or anything, just a series of 
methods and variables (like you'd want from an include)
ben

sailorsea21 wrote:
>
> Hi everyone, I would like to clean up my main mxml file since it's
> getting farely big. Is there an "include" command that will allow me to
> split up my MXML code in several MXML files. Something like the PHP
> INCLUDE command?
>
> Thanks.
>
> 
 


      

Reply via email to