Yesterday I just refactored the project I am working on to use code behind. I had not planned on keeping script blocks in the MXML files, but being fairly new to Flex, when everything began working correctly I sort of forgot about it.... until some of the script blocks started getting larger and larger and then it kind of clicked that I had planned on moving the script out of the MXML.
-----Original Message----- From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of ben.clinkinbeard Sent: Tuesday, January 16, 2007 1:27 PM To: flexcoders@yahoogroups.com 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