just stuff AS into our mxml. If it bites us later we'll just refactor” 

No, man, don’t do that.  In 1.5, the 32k problem *will* bite you.  Just start off putting the AS into a helper class (static or otherwise). Then you’ll do:

MyHelperClass.myFunction()

From the beginning instead of having to do it later.

 

Trust me.

 

Tracy

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of Julian Suggate
Sent: Thursday, November 03, 2005 10:02 PM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] To code-behind or not to code-behind?

 

Thanks for your time everyone.

 

Because we have barely scratched the surface with Flex, I am asking stupid questions probably ... apologies if it's coming across as obtuse.

 

I think I was getting confused because "mxml is the class". Call me slow on the uptake! I only just clicked that separating the code from the mxml makes no difference semantically -- seems more of an ideological debate than anything else. I'm not a big fan of those! I can see why Steven's initial response was kind of blase. I think we'll go with the grain on this one and just stuff AS into our mxml. If it bites us later we'll just refactor.

 

On 11/4/05, Steven Webster <[EMAIL PROTECTED]> wrote:

The existence of ActionScript code in the MXML file or not, has never impacted on the strategy for skinning.

 

Good to hear.

 

For the psycho-analytically inclined, you can see the process of paradigm-shifting going on in glorious technicolour as I continue to ask silly questions and then back down ;-)

 

But you're probably accustomed to that on this list.

 

Jules




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Software design and development Macromedia flex
Software development best practice


YAHOO! GROUPS LINKS




Reply via email to