The 32k problem in 1.5 forced me into using "helper" classes very early on. Still, though, I often develop in a script block, then later move the functionality to its own class. Typically, functions that need to updte the ui directly stay in the script block, and pure functions go in the class. Its not a hard rule, and I sometimes pass a reference to the needed scope into a helper class in order to manipulate the ui there.
Tracy ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Tuesday, January 16, 2007 1:27 PM To: [email protected] Subject: [flexcoders] Code behind- do you use it? I am undecided as to whether or not I want to use the code behind method for my MXML files and figured I would see what others are doing. I am currently just using Script blocks at the top of my files to do event handling, initialization, etc but some of them are getting pretty big. So what are others doing? No AS in your MXML files, no code behind, a mixture of the two? Thanks, Ben

