I started looking into using FlashDevelop's code injection tonight. I'm
using AS2.
I don't think trying to use this is going to be very practical, as the
compiler is rather strict in ways that the Flash IDE isn't. In fact,
it's so strict that it won't even compile some of the MX classes!
Is there a setting that I'm not aware of that I can use to get FD to
inject my code and these quite common MX classes. Thanks!
A few of the things that it doesn't like that I've found so far.
If you declare a variable within curly-braces, and then try to get it
outside of the braces, the variable is undefined. (I know that this is
correct, but as this code is the MX classes, I would hope that it would
compile.)
You can't re-declare a variable within the same scope. Again, not
something that I would do, but quite common in the MX classes.
The input type of a setter must be the same as the return type of a
same-named getter. This is really annoying, as it's very convenient to
except multiple types for the set (e.g. the string-name of an object or
the object itself) but have the getter return a specific type of object.
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders