[TxMt] AS3/Flex, how to begin?

Boysenberry Payne boysenberry at habitatlife.com
Wed Oct 24 05:35:11 UTC 2007


I'm doing a AS2 to AS3 port right now on a rather large code base.
Once you get passed the hurdle of how things work different in AS3  
it's not
so bad.  It is a rather large jump though.

So I'm guessing the work of porting is only as hard as it was to  
build it
the first time minus the part of figuring out the logic.

The is a nice little area in the Flash 9 help files under  
Actionscript 3.0 Language
and Components Reference -> Appendix -> Actionscript 2.0 Migration that
shows what methods were changed and what to use in AS3 as a replacement.

Then just learn about the new methods you need first.

That's my 2 cents...

-bop

On Oct 23, 2007, at 3:21 PM, Gaby Vanhegan wrote:

>
> On 23 Oct 2007, at 15:43, Jeremy Sachs wrote:
>
>> As for porting your AS2 project over, you may have some difficulty  
>> with that, depending on how much of your code in in the .fla file.  
>> I suggest you develop a simple game (like Pong :) to get the hang  
>> of things before attempting your port. I expect that most of your  
>> code is reusable, but you may want to refactor large portions of  
>> it to work more intuitively in the new language.
>
> Having read this:
>
> http://www.senocular.com/flash/tutorials/as3withflashcs3/
>
> I think I'm better of refactoring the whole lot from scratch.   
> There's so many small changes and the project itself is such a  
> beast that I'm better off just starting with a blank canvas and  
> porting over the classes one at a time.  It's going to be a bit  
> painful but well worth the effort in the long term.
>
> I'll still be able to write the AS code in TextMate but properly  
> using mxmlc is a ways off...  Project for next year perhaps.
>
> Gaby
>
> --
> Junkets for bunterish lickspittles since 1998!
> http://www.playr.co.uk/
>
>
>
> ______________________________________________________________________
> For new threads USE THIS: textmate at lists.macromates.com
> (threading gets destroyed and the universe will collapse if you don't)
> http://lists.macromates.com/mailman/listinfo/textmate

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20071024/f997886e/attachment.html>


More information about the textmate mailing list