Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Flash - ActionScript

Writing AS2 so it's easily updated to AS3

 
Jump to:  
 
Tim Flash
PostPosted: 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
PostPosted: 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
}
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

regeneracja części caterpillar Porównywarka Cen Srebrne monety hol3 hotele londyn