This site is optimised for Firefox 2.0 or Internet Explorer 7.

Useful AS3 Migration Books / Resources

User avatar
sekasi
1337 Donor
 
Post Count: 2899
Joined: Tue Oct 31, 2006 4:38 pm
Location: Melbourne, Australia
Flash Version: Adobe Flash CS4

Useful AS3 Migration Books / Resources

Postby sekasi on Fri Jul 04, 2008 3:56 pm

I know for all of us the process of moving from 2 to 3 was a painful one. Especially for the ones like myself that was trapped in AS2 projects long after 3 was released. I've picked up a few useful resources along the way that those who are migrating now can find some comfort in;

BOOKS
  • Essential Actionscript 3 (Colin Mook) [note: I personally haven't read this one, but it's so highly recommended by everyone I know]
  • Advanced Actionscript 3 with Design Patterns (Joey Lott) [note: Amazing AS3 OOP resource]
  • Object Oriented Actionscript 3 (Peter Elst) [note: Not so great for AS3 learning, but a good OOP shakedown]
  • Foundation Actionscript 3.0 Animation - Making Things Move (Keith Peters)

ONLINE READING

TUTORIALS
(too many to list)

ANIMATION PACKAGES


Enjoy ;)

User avatar
kevin.ard
Contributing Member
 
Post Count: 83
Joined: Fri Jul 04, 2008 4:41 am
Location: Philadelphia, PA
Flash Version: Adobe Flash CS3

Re: Useful AS3 Migration Books / Resources

Postby kevin.ard on Sun Jul 06, 2008 1:48 am

Yeah, I can second that on:
  • Essential AS3 [I have read that one, and it's good stuff]
  • gotoAndLearn("videos") [they were priceless].
  • Advanced AS3 with Patterns[I've only skimmed it, but it looks promising]
I also want to add:
  • The Actionscript 3.0 Cookbook(O'Reilly/Adobe Press)
    ->It comes in after you've got the jist of AS3; and gives a beautiful Problem/Solution-by-Example approach that lets you get the feel for the topic in the first few lines, and the n know everything in the world about it in the next few pages.
    Covers virtually eveything in minute detail.
    The best $40 I've spent since NuLooq came out.
--EDIT: since trying out TweenMax--
I can second TweenMax, now, too. I like it a lot(might even pay dollars for it). I wonder why it's not publicized more?

User avatar
djnorthyy
 
Post Count: 114
Joined: Sat Oct 28, 2006 8:25 am
Location: UK, Southampton
Flash Version: Adobe Flash CS4

Re: Useful AS3 Migration Books / Resources

Postby djnorthyy on Mon Aug 04, 2008 10:29 pm

I found 'Learning Actionscript 3.0, A Beginners Guide' by Rich Shupe with Zevan Rosser.

This was extremely helpful, especially as it is printed in colour! This really helps you concentrate on the more important aspects of the code... :)

Harry.
Harry Northover.
I love to create anything using any form of Interactive Media. My main passion is Flash and Flex with lots of AS3 thrown in. I also love creating Motion Graphics and Designing.
- Portfolio Blog Twitter

User avatar
Jasconius
 
Post Count: 88
Joined: Fri Jul 11, 2008 9:24 pm
Location: Fort Myers, FL
Flash Version: Adobe Flash CS4

Re: Useful AS3 Migration Books / Resources

Postby Jasconius on Tue Aug 05, 2008 6:45 pm

I'll Second the Actionscript 3 Cookbook, it's a great resource.

The code isn't perfect, but it's served as an excellent starting point for many projects I have done.

User avatar
Rjet
 
Post Count: 8
Joined: Wed Aug 13, 2008 2:31 pm
Location: this.universe.galaxy[144000].planet[2]
Flash Version: Adobe Flash CS4

Re: Useful AS3 Migration Books / Resources

Postby Rjet on Wed Aug 13, 2008 9:00 pm

A few important differences:

For MovieClips:
AS2 :arrow: AS3

_root.myMC._x :arrow: this.myMC.x
_root.myMC._y :arrow: this.myMC.y
_root.myMC._xscale :arrow: this.myMC.scaleX
_root.myMC._yscale :arrow: this.myMC.scaleY
_root.myMC._xmouse :arrow: this.myMC.mouseX
_root.myMC._ymouse :arrow: this.myMC.mouseY
_root.myMC._rotation :arrow: this.myMC.rotation
_root.myMC._alpha :arrow: this.myMC.alpha
_root.myMC._visible :arrow: this.myMC.visible

_root is no longer availabe so you'll have to use this or stage instead.

Also, scripts on MovieClips no longer work, which means all code has to go on Keyframes, or on Buttons.
To handle MovieClip events of myMC (the name of a MovieClip) use the following in a Keyframe:

// Include used packages
import flash.display.*;

// Get the main window & the stage variable
Dwindow = this.stage.nativeWindow;
Dwindow.title="My Program Name";

// Add an event listener so Flash calls a function every time an event is triggered
// Notice how the ENTER_FRAME constant resides in a general purpose "Event" class
// More complex events reside in their respective class
// The last argument specifies which function should get called every event trigger
// Notice how we're not calling the function, i.e. no brackets () are used, just the path to the target function

this.myMC.addEventListener(Event.ENTER_FRAME,myMCevent);

// The MovieClip event handler function
// Notice how we use the general purpose Event object since no arguments are passed

function myMCevent(e:Event){
// Your code here
trace("enterFrame event of myMC!!");
}

// To handle Stage events:

// Add an event listener so Flash calls a function every time an event is triggered
// For Mouse wheel scroll events, use the MOUSE_WHEEL constant from the "MouseEvent" class instead
// Notice how we add the scroll event to the stage instead of any specific MC

Dwindow.stage.addEventListener(MouseEvent.MOUSE_WHEEL,myStageEvent);

// The Stage event handler function
// Notice how we use the MouseEvent object since we are expecting specific arguments

function myStageEvent(e:MouseEvent) {
// Your code here
trace("Mouse wheel has scrolled " + e.delta " pixels!");
}

Have fun, and don't forget to post a new Topic in the AS3 section if you have any trouble! :lol:
Regards, Rjet.

User avatar
Rjet
 
Post Count: 8
Joined: Wed Aug 13, 2008 2:31 pm
Location: this.universe.galaxy[144000].planet[2]
Flash Version: Adobe Flash CS4

Re: Useful AS3 Migration Books / Resources

Postby Rjet on Wed Aug 13, 2008 11:29 pm

Most useful is the AS2 to AS3 Migration Guide found inside Flash.
It has a huge table which describes the differences between ActionScript 2.0 and 3.0.
Every object within every class is listed, including Compiler Directives!
Its very well written and very reader friendly. ;)

Click Help > Flash Help.
In the contents tree, Actionscript 3.0 Language and Components Reference
Within that book, Appendixes > ActionScript 2.0 Migration.

User avatar
scottrockers
 
Post Count: 367
Joined: Fri Jul 21, 2006 8:34 pm
Flash Version: Adobe Flash CS3

Re: Useful AS3 Migration Books / Resources

Postby scottrockers on Fri Aug 22, 2008 4:27 pm

Nice links at the start, can't wait to dive into it.

User avatar
Rjet
 
Post Count: 8
Joined: Wed Aug 13, 2008 2:31 pm
Location: this.universe.galaxy[144000].planet[2]
Flash Version: Adobe Flash CS4

The Charges Against ActionScript 3.0 And How To Tackle Them

Postby Rjet on Mon Sep 22, 2008 6:08 am

Flash platform expert Colin Moock has written an excellent guide to solving the most significant issues faced when migrating from AS2 to AS3.
All of the following 'charges' are tackled in the article, making it a must-read for every AS3/Flash CS3 fresher:

1. The removal of on()/onClipEvent() from Flash CS3 makes creating simple interactivity hard.
2. Getting rid of loaded .swf files is hard.
3. Casting DisplayObject.parent makes controlling parent movie clips hard.
4. The removal of getURL() makes linking hard.
5. The removal of loadMovie() makes loading .swf files and images hard.
6. ActionScript 3.0's additional errors make coding cumbersome.
7. Referring to library symbols dynamically is unintuitive.
8. Adding custom functionality to manually created text fields, to all movie clips, or to all buttons is cumbersome.
9. The removal of duplicateMovieClip() makes cloning a MovieClip instance (really) hard.

User avatar
sekasi
1337 Donor
 
Post Count: 2899
Joined: Tue Oct 31, 2006 4:38 pm
Location: Melbourne, Australia
Flash Version: Adobe Flash CS4

Re: Useful AS3 Migration Books / Resources

Postby sekasi on Tue Sep 30, 2008 11:38 pm

That whole article is a bit lame.

And kinda irrelevant too :/

User avatar
smahalko
 
Post Count: 9
Joined: Sun Mar 30, 2008 1:45 am
Flash Version: Adobe Flash CS3

Re: Useful AS3 Migration Books / Resources

Postby smahalko on Mon Oct 27, 2008 8:08 pm

I've looked into a lot ( ok, all of them) and from the reviews from people, it sounds like most books are geared towards people with an understanding of AS already and those of us with no experience are lost. While other books reviewed mention errors in the book itself!?!
I really would like to get a book on AS3...are there any beginners in the forums who got a book and actually have any positive feedback from it? I'd like to hear it.

:D
Bare with me here...I'm learning as fast as I can! LOL!

ringo_moss has no avatar
ringo_moss
 
Post Count: 12
Joined: Mon Dec 01, 2008 4:50 pm
Flash Version: Adobe Flash CS3

Re: Useful AS3 Migration Books / Resources

Postby ringo_moss on Tue Dec 02, 2008 4:31 pm

djnorthyy wrote:I found 'Learning Actionscript 3.0, A Beginners Guide' by Rich Shupe with Zevan Rosser.

This was extremely helpful, especially as it is printed in colour! This really helps you concentrate on the more important aspects of the code... :)

Harry.



I second this comment, I have been using Learning Actionscript 3.0, A Beginners Guide' by Rich Shupe with Zevan Rosser and Moocks Essential Actionscript 3.0 books in conjunction with various sites and tutorials to get my AS 3.0 work done.

I think Shupe and Rossers book is so good because it is done in sections which I can work on when there is a half hour or so spare in the studio.

Ringo Moss
nerv media
http://thenerv.co.uk

////////////////////////////////////////////////////////////////////////////////////////////////////

User avatar
Odisey
 
Post Count: 94
Joined: Sun Feb 17, 2008 10:51 am
Location: Morgantown, West Virginia - just south of Canada

Re: Useful AS3 Migration Books / Resources

Postby Odisey on Fri Jan 09, 2009 1:30 pm

Hello,
I need to suggest Todd Perkins: ActionScript 3.0. I have Mook's 2.0 and the 2.0 AS Bible - Joey Lott. I've read parts of them, mostly the first 1/4 of the books trying to grasp the bigger concepts of methods, functions, events, event listeners, etc. Honestly speaking, both defined these concepts and I can use them in writing code. I can reference the literature, especially the ASB, and integrrate code into projects - np.

That being said, I moved to AS3.0 recently. Had no idea of the difference until I tried coding the other day. Got no where. I went and picked up Todd Perkin's AS3.0 book after sitting in BAM thumbing through books. It made the most sense to me. I can hoonestly say that in the first 80 pages I relearned how to code methods, functions, etc. in AS3.0. And, importantly I finally got a grip on the larger concepts of the language. AS2.0 is a much more looser language in contrast. Because of it's less than industry standard's strick natute, it left a lot of loop holes in targeting and defining a 'larger language concept' that only comes with consistency.

Being an author of educational material, and an instructional designer - I would have to give Todd Perkins 5 thumbs up on presenting the concepts of the AS3.0 language in an explicit way that enables the learner (beginner to AS2.0 Pro) to grasp the big picture right away. I am also a huge fan of eLearning. This title comes with a CD packed full of extra content including video tutorials, and a 24 hour free pass to Lynda.com. It's a great package!

Thank guys - just for being there (LOL),
Odisey
Odisey aka ODC

Not everything that is counted counts - not everything that counts is counted. Sign that once hung on Al Einstein's door.

AS3 Preloader: http://www.gotoandlearnforum.com/viewtopic.php?f=29&t=21842

yuxuan2658 has no avatar
yuxuan2658
 
Post Count: 3
Joined: Tue Mar 10, 2009 4:19 am
Flash Version: Adobe Flash CS4

Re: Useful AS3 Migration Books / Resources

Postby yuxuan2658 on Tue Mar 10, 2009 4:31 am

hi,i am from china,i like as3 very much,but i am still a newcomer in as3,can you give me a hand?

User avatar
rob_erskine
 
Post Count: 44
Joined: Mon Nov 17, 2008 5:03 pm
Flash Version: Adobe Flash CS4

Re: Useful AS3 Migration Books / Resources

Postby rob_erskine on Mon May 11, 2009 4:47 am

Being 18 and just barely getting as2 down, seems I'm gonna have to tackle 3.0 for school next year.

Thanks for all the references. I'm going to go to Borders bookstore maybe this weekend, I have lots of gift cards (bahahaha!).Going to be a long day in the back corner of the computer section.

Thanks!
Rob

Marc66 has no avatar
Marc66
 
Post Count: 6
Joined: Fri Jun 12, 2009 3:46 pm
Flash Version: Adobe Flash CS3

Re: Useful AS3 Migration Books / Resources

Postby Marc66 on Sat Jun 13, 2009 4:38 pm

As an AS3 tutorial site, I'ld like to recommend http://www.focusonflash.com/ . It's done by a real programming pro, and the video tutorials are great, starting from the ground up.

Next

Return to Actionscript 3.0

Who is online

Users browsing this forum: Kirone and 5 guests