Essential ActionScript 3.0: ActionScript 3.0 Programming Fundamentals

Author: Colin Moock
4.1
All Stack Overflow 18

Essential ActionScript 3.0: ActionScript 3.0 Programming Fundamentals

4.1

Review Date:

Comments

by anonymous   2017-08-20

If you really want to learn Flash (as3) programming then you want to get Essential Actionscript 3 by Colin Moock.

There is a lot of AS3 code out there. You will have to be more specific regarding your goals to really provide an answer. "Flash Programming" is extremely general. Flash IDE, AS3, Flex, etc...

by anonymous   2017-08-20

Your code:
var f1:Flower = new Flower("rose");

Creates a new instance of an object of type Flower and assigns it to the variable f1. It passes the string "rose" to the constructor function of the Flower class.

As lansen says, each instance of a Flower will have it's own namex variable with an independent value.

At this point I think it would be more productive if you take a step back and learn some fundamentals of object oriented programming rather than banging your head against something you don't have a basic understanding of. This book is a pretty good place to start: Essential ActionScript 3.0.

by anonymous   2017-08-20

amazon.com is your friend.

Essential Actionscript