[flexcoders] better to use mxml or actionscript for new component?

2006-07-21 Thread Pan Troglodytes
Just curious, is it actually more efficient to use AS instead of MXML (or vice versa) when deriving new components? I'm talking about where it's just as easy to code it either way. I'm just wondering about how the guts of the compiler work. For example, take these two:package nes { import

RE: [flexcoders] better to use mxml or actionscript for new component?

2006-07-21 Thread Sho Kuwamoto
My guess is that the AS version is more efficient, although I haven't checked this. To see what the compiler is doing, you can use the -keep flag on the compiler, which will allow you to see the generated ActionScript for any particular MXML file. -Sho From: