Either there is an import all ready, or the developer adds one - the
IDE can even have an option to prefer Flex 4 to 3, and set up that
import by default.
> In the ActionScript world, when you write: var b:Button =
> new Button(), which Button do you mean? You either have to explicitly
> import the right Button class, or the system (code hinting) will have
> to prompt you to chose which Button you wanted to instantiate and add
> the explicit import directly.
Nothing wrong with that. As above, if Builder defaults to Flex 4
package, or the compiler has a --prefer-flex-4 and --prefer-flex-3
argument there's no issue.
OK, so the developer can still write buggy code, and the compiler will
moan - that's normal !
> In the Gumbo timeframe, we are hoping we
> will improve code completion to assist with this so that you don't
They we go then. Fix the supporting tools (Builder) rather than making
the SDK ugly...
--
Tom