I'm not sure if I'd call an MXML component a set of AS3 classes. The
complete Flex Framework is built in AS3 without using any MXML.
MXML is an "AS3" code generation language and the MXML file is compiled
to AS3 by the Flex compiler. But, you cannot use an MXML component in a
non-Flex applications without first turning it into AS3.
I haven't done any coding in the Flash IDE, although I would expect
that writing AS3 code in the Flash Professional will be a very different
experience than writing AS3 code in Flex Builder. But, Baz is right
that the language constructs are not different.
Baz wrote:
Hey,
Flex is nothing more than a framework built using AS3, and AS3 only
exists in the flash player, so they are the exact same AS3. An Flex
(mxml) component, is just a set of AS3 classes, that you can modify,
update, extend, or change in any way. Flex simply provides a
high-level and convenient way to implement Action Script.
To learn, I'd start with a simple mxml app, then as you progress,
start adding more complexity and customizations. You will quickly find
out that you will have to drop down to the lower-level AS3 code, by
creating your own classes, or extending existing flex components.
At the end of the day, to be a good Flex developer, you have to also
be a good AS3 developer, so it's in your interest to learn both.
Good luck!
Baz
On Sat, Nov 21, 2009 at 5:27 PM, fred44455 <fred44...@yahoo.com
<mailto:fred44...@yahoo.com>> wrote:
I am new to Flex however I have both platforms , Flex 3 and Flash
CS4. My question is : When you code AS3 using Flex3 is it totally
similar than Flash AS3? Do they use different packages & Classes?
Is it better to start with Flex 3 first then doing Flash
aftwards?or can I learn both platforms on the same time?I want to
become a Flex Developer but i noticed that the job postings often
require Flex/Flash knowledge. Thanks for your time.
--
Jeffry Houser, Technical Entrepreneur
Adobe Community Expert: http://tinyurl.com/684b5h
http://www.twitter.com/reboog711 | Phone: 203-379-0773
--
Easy to use Interface Components for Flex Developers
http://www.flextras.com?c=104
--
http://www.theflexshow.com
http://www.jeffryhouser.com
--
Part of the DotComIt Brain Trust