Search the web
Sign In
New User? Sign Up
flexcoders · RIA Development with Adobe Flex
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Message search is now enhanced, find messages faster. Take it for a spin.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
Flex2, ActionScript3, Cairngorm & Flash9   Message List  
Reply | Forward Message #50267 of 149535 |
Re: [flexcoders] Flex2, ActionScript3, Cairngorm & Flash

Wow Comfederation, your request is a pretty tall order.  lol.

Quick question, are you coming to Flex from Flash?  It matters because Flex and Flash are, if not siblings, then they at least are cousins :-)  Thus if you are coming from Flash, I would explain Flex from a Flash perspective.  If you are not coming from Flash, then the explaining likely should be different.

Regarding your questions, I will limit myself to 5 minutes and see what I can get through.

-- Your Impression.  Yes, it is correct.  MXML --> AS3 --> SWF.  To see what Flex Evangelist Ted Patrick called The Wizard behind the Flex Curtain, enter the following in your Flex 2 compiler setting:  -keep-generated-actionscript=true
For details where to enter this setting, see this post:
www.flashguru.co.uk/flex-2-compilation-hidden-goodies/
Note:  As a Flex developer, you never really need to see the "generated actionscript" but it can be interesting.

-- Yes on both your questions:  "can one accomplish with straigt AS3 code whatever can be done with Flex/MXML?" and "MX UI cotrols or rather can they be used straight from AS3?"
Yes, but why would you want to?  MXML is a way of instantiating the components of the Flex Framework.  If you find MXML intuitive and a fast enough way of developing then use it.  If straight ActionScript works better for you, then that works too.  For either MXML or AS, see the Flex 2 Language Reference for all of the classes and their properties, methods and events:
http://livedocs.macromedia.com/flex/2/langref/
Note:  The bottom of most language reference pages have lots of sample code, both MXML and AS.

-- Flex 2 vs Flash 9.  Both are authoring environments for authoring SWFs.  Both provide support for ActionScript 3.  AS3 is a HUGE leap forward and includes debuggers, runtime errors and other simply amazing things.  Flex 2 includes a ton of components, aka the Flex Framework.  Flash authoring includes a component set but it pales in comparison to the Flex Framework.  Flash 9 currently is only available in an alpha preview release.  Details here:
http://labs.adobe.com/technologies/flash9as3preview/

Oops, time is up.

Again, please tell us more about yourself.  The more we now the better we can be at providing assistance.

hth,

g

On 9/15/06, comfederation <comfederation@...> wrote:
I have yet to get into all of this, beyond some basic point and
clicking within FlexBuilder.

So, I would be greatful if someone could please summarize the
interaction between the various compoments in my subject line.

From what I have read, I am under an impression that the Flex2 part
basically converts MXML into ActionScript3 code; which then gets
compiled into a SWF file.

Is this correct and can one accomplish with straigt AS3 code whatever
can be done with Flex/MXML ?

What about the MX UI cotrols or rather can they be used straight from
AS3 ?

Thanks a lot and take care.




Sat Sep 16, 2006 8:13 pm

flexsavvy
Offline Offline
Send Email Send Email

Forward
Message #50267 of 149535 |
Expand Messages Author Sort by Date

I have yet to get into all of this, beyond some basic point and clicking within FlexBuilder. So, I would be greatful if someone could please summarize the ...
comfederation
Offline Send Email
Sep 16, 2006
3:46 am

Wow Comfederation, your request is a pretty tall order. lol. Quick question, are you coming to Flex from Flash? It matters because Flex and Flash are, if not...
greg h
flexsavvy
Offline Send Email
Sep 16, 2006
8:22 pm

Greg, Thanks a whole million because your summary is precisely what I got so far out of learning this new and amazing environment but I just needed to confirm...
comfederation
Offline Send Email
Sep 18, 2006
12:59 pm
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help