> This is true as well.  Not that I am a complete pro at Flex, but I have
> found you want to know both MXML and Actionscript fairly equally.

And, of course, the class library is the same in either, so if you
know how to invoke something via MXML, you basically know how to
invoke it in AS3 and vice-versa. The basic syntax of both MXML and AS3
can be picked up quite easily by any experienced programmer in a day
or so.

> I do think there are uses for MXML that are non-visual though, like setting 
> up a
> webservice connection, describing effects (which I guess you could argue is
> visual, but it not a "layout" thing) or even loading XML, but for the most 
> part,
> I think you're right.  MXML for the view - what you see, and Actionscript for
> most everything else.  You can even write arrays and stuff with MXML but
> I've never seen a good reason for that.

Yeah, I generally use MXML for WebService, HTTPService, RemoteObject,
etc, but they're not really part of the view, it's just what I'm used
to. The syntax for doing this just seems to be a bit cleaner to me.

Dave Watts, CTO, Fig Leaf Software
http://www.figleaf.com/

Fig Leaf Software provides the highest caliber vendor-authorized
instruction at our training centers in Washington DC, Atlanta,
Chicago, Baltimore, Northern Virginia, or on-site at your location.
Visit http://training.figleaf.com/ for more information!

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to