![]() ![]() | |
You'll create a new FLA file, then create two objects from the Product class.
|
Instance name |
Data |
|
|---|---|---|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
trace (pedals.getDescription ()); var handleBars:Product = new Product (1, "ATB", "Available in comfort and aero design");
var pedals:Product=new Product(0,"Clipless Pedals","Excellent cleat engagement");
Note: An example finished file of the document you just created, named handson2.fla, is located in your finished files folder. For the path, see Set up your workspace.
![]() ![]() | |