I've spent a fair bit of time this week helping people who are trying to get
their Flex 1.5 apps working in Flex 2. Some of those apps worked with only a
tiny tweak here and there and others will pretty much require a total
rewrite. What I'm finding is that there is enough difference between what
you *can* do in AS 2 and what you *must* do in AS 3 that it's probably
better to learn AS 3 and use as much of those principles and syntax as
possible when creating AS 2 apps. That way your AS 2 apps will still work
and you'll have minimum pain if and when you port them to AS 3.

FWIW, the apps that were easiest to convert were what I would consider well
designed in an OO sense. Each file did one thing and only one thing. Each
file was well decoupled from other files and well encapsulated.

I'd like to think that's just because OO is a good thing, but I suspect that
it's got as much to do with the fact that AS 3 is stricter about OO concepts
than AS 2 was.

Spike

On 10/21/05, ryanm <[EMAIL PROTECTED]> wrote:
>
> > Perharps I was not clear
> > But for me between AS2 and AS3 the only thing similar is the syntax
> > Not the logic
> >
> It is neither logic or syntax that changed. Really, all that changed is
> the DOM and some other APIs. The syntax is the same (a for loop is still a
> for loop, etc), and the logic is the same (enterframe events are still
> enterframe events, they're just managed more efficiently, etc), and what
> has
> changed is the paradigm that only movieclip objects have a visible
> presence
> on the stage, that once created they cannot be reparented, etc. The API
> has
> become more powerful and flexible, and as a result will require stricter,
> more organized code, that's all.
>
> ryanm
>
> _______________________________________________
> Flashcoders mailing list
> [email protected]
> http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
>



--
--------------------------------------------
Stephen Milligan
Do you do the Badger?
http://www.yellowbadger.com

Do you cfeclipse? http://www.cfeclipse.org
_______________________________________________
Flashcoders mailing list
[email protected]
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to