|  | Writing AS2 so it's easily updated to AS3 |  | |
| | | Tim Flash |  |
| Posted: Tue Sep 02, 2008 2:52 am Post subject: Writing AS2 so it's easily updated to AS3 |  |
I'm still writing AS2 because many of the projects I do have to work on older flash players. That said, how can I write AS2 so that when it comes to it, I can easily update it to AS3?
Hope someone can help!
Tim |
| |
| | | kglad |  |
| Posted: Tue Sep 02, 2008 5:27 am Post subject: Re: Writing AS2 so it's easily updated to AS3 |  |
there's no easy way to convert from as2 to as3. that said, you can type all your variables because that must be done in as3 and you can place almost all code in functions.
for example:
it will be less difficult (than usual) to convert the following;
btn1.onRelease = btn1ReleaseF;
function btn1ReleaseF(){ // do whatever } |
| |
|
|