Learn Actionscript - AHFX

Basic Actionscript - Creating Class Methods

Actionscript 2.0 Methods

I´ve added the other getters and setters. (You use getters and setters to control the values that may be placed into that variable. For example, you couldn't have a negative cost of a product. So you could create some code that checks to see if the value passed to the set method it negative. If it was negative, don't assign the number. You could also check for not number values being passed.

SUPPORT THIS SITEIf this tutorial helped you, show your support and send me something from my wish list.Click on an item below and then chooseAdam Hayes (Gift Registry Address) for the Ship to Address.It is that easy!Amazon.com Widgets