Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > Flex > Flex 2, 3 & 4

Thread Tools Rate Thread Display Modes
Old 09-10-2009, 09:44 PM   #1
Freshman ActionScript Dev
EvLSnoopY's Avatar
Join Date: Jun 2009
Location: Edmond, OK
Posts: 345
Question I would like to know if it is best practice to keep MXML code separate from AS code

I am going to start learning MXML soon and after reading various articles about MXML & ActionScript I would like to know if it is best practice to keep MXML code separate from ActionScript code. Currently I keep all of my logic separate from my assets/layout so, when I start implementing MXML into my development process I plan to use MXML for layout/assets and ActionScript for the logic code. Is this a good approach for keeping my development process modular?
"Knowledge is power."
"Show no fear in the face of adversity."
Please use the [ as ][ /as ] tags for your code.
EvLSnoopY is offline   Reply With Quote
Old 09-10-2009, 09:58 PM   #2
Peter Cowling
quantum tunneler
Join Date: Sep 2008
Location: London, UK
Posts: 882

I would get stuck in on that basis, and expect to refine things as you fo along. Check out Axiis for a flex 3 oriented project that makes good use of mxml.

If you are learning the flex framework, it is good to start out with Gumbo/v4; it is pretty different, and much better than v3.

You will pick it all up quickly, that's for sure.
Peter Cowling is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT. The time now is 01:59 PM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.