I have never heard of this before, where could I find out about it (I come from database design not java) Dan Pride
--- On Fri, 11/27/09, Tracy Spratt <[email protected]> wrote: From: Tracy Spratt <[email protected]> Subject: RE: [SPAM] [flexcoders] Multiple Script Files To: [email protected] Date: Friday, November 27, 2009, 5:21 PM Another solution to this is to use helper classes, instead of compiling the script block into the component class. I never have more than a single script block in an mxml file, rarely have more than one included script file, and often have none of either. You can use the code-behind technique, or static functions in a separate class, or a normally instantiated helper class. Tracy Spratt, Lariat Services, development services available From: flexcod...@yahoogro ups.com [mailto: flexcod...@yahoogro ups.com ] On Behalf Of Dan Pride Sent: Thursday, November 26, 2009 2:41 PM To: flexcod...@yahoogro ups.com Subject: [SPAM] [flexcoders] Multiple Script Files A similar question. To simplfy things I have created a script file for each table with the relevant actionscript functions for the table in the file. i.e. <mx:Script source="CenterScrip t.as" /> <mx:Script source="SquareScrip t.as" /> <mx:Script source="LocaScript. as" /> etc etc Is this a common way to handle script complexity as an application grows? The app only uses a couple of components so there is a fair bit of actionScript code tied to the main app file. Thanks Dan Pride

