I've been thinking about asking the same question, all of the samples out there seem to embed the actionscript in MXML, however the code behind scenario seems more like a best practice approach. Personally, I use code behind everywhere except for procedural initialization code in my main.mxml. -Steve
ben.clinkinbeard wrote: > 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