From AS2 to AS3

I have been programming with AS since flash 5, and was really lazy about going to as3.

Not only you have to learn lots of things, but the whole thinking scheme is different.
Creating listeners and handlers for a simple roll over… :puzzle:
All the root/stage confusion… :puzzle:
No more duplicateMovieClip, loadMovie, getURL, or attachMovieClip… :puzzle:

But… I did my first job in as3 during this weekend and I have only one thing to say about it:

Don’t be lazy!!! Learn AS3 as soon as you can!!! AS3 is the sh** !!! :love:

Faster, Stronger, Better, lots of new features… hell even the timeline tweens move smoother and faster.

No, really, it’s more work but you get a lot more, plus in the long run (and not so long) as2 will die. It’s the natural order of things…

Just wanted to share this revelation with you :slight_smile:

Funnily enough, I’ve been playing with AS3 this weekend too, I was talking to creatify about it.

It’s power became evident pretty quickly, but god I feel lost with no attachMovie, duplicatemovieclip etc etc.

And it’s just so unforgiving, throwing error messages at you like they’re going out of fashion.

One thing though, for some reason I find classes easier to understand in AS3 than AS2.

Which did you do in AS3 pier?

And what is the equivalent of duplicateMovieClip?

Hey!

I borrowed senocular’s version of duplicateMovieCLip for AS3 and from somewhere else a getURL for as3 (just google as3 getURL) that I have implemented in my own classes as a static method.

Yeah I find classes easier to understand in AS3… but that could be because I never tried so hard understanding classes in AS2 :wink:

I did this, a dynamic splash screen loader, plus the big interstitial (banner). No big deal, but you have to start from somewhere :slight_smile:

http://82.194.74.55/plantour/plannet/html/promociones/promo.php

You won’t be able to navigate though…

cs3 this cs3 that runs and hides under a rock

cs4 will come out soon enough :stuck_out_tongue:

I agree. It’s not easy to pick up and I have so much to learn, but I am learning a lot. I too have been using Flash since Flash 5 and haven’t really gotten deep into classes etc. But it really is awesome. Glad you are picking it up.

My problem is I don’t have that much time to dedicate into AS 3. So it’s been a slow process.

Cool Pier, not bad. Incidentally, did you use 100% classes for this, or did you fall back on your trusty AS2, timeline ways? :slight_smile:

[QUOTE=rumblesushi;2334886]Cool Pier, not bad. Incidentally, did you use 100% classes for this, or did you fall back on your trusty AS2, timeline ways? :)[/QUOTE]

Hey thanks, I’m glad you liked it.

Yeah I did everything with classes and tweenLite :wink:

The banner animation was done half by hand and half by script.

Basically a document class for the loading process, animating the whole container, and processing some vars given by php. Then my class utilsPier for things such as the getURL, trigonometry and also my animPier class with an explode method (the 20s on the banner).

Oh BTW TweenLite/Max is great! I’m an ex fuse user since I tried tweenLite on this project two days ago :slight_smile:

randomagain: I don’t think the jump from 3 to 4 will be so huge… Well, I hope… :smiley:

I shall continue to be lazy…there are still plenty of questions asked about slash notation and tellTarget to keep me occupied here. :wink:

^ lol :slight_smile:

[QUOTE=Pier25;2334989]Oh BTW TweenLite/Max is great! I’m an [COLOR=“Red”]ex fuse user[/COLOR] since I tried tweenLite on this project two days ago :)[/QUOTE]

:thumb: Now you can go report in your other thread…

your favorite tween engine and why

Thx! I’ve seen you already did it for me :slight_smile:

Don’t tell me you haven’t mastered AS3 glos :bandit: