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. > >