ActionScript 3.0 Lesson 19: Creating Arrays and the Push Method

Mon, Aug 24, 2009

ActionScript

This tutorial shows the Array syntax in ActionScript 3.0 and how to use the Push method

DOWNLOAD THIS TUTORIAL TO YOUR HARD DRIVE

HERE IS THE SOURCE CODE!

// Let’s create an array.
// An array is a collection of values

var Groceries:Array = new Array();

// Now some values…

Groceries.push (“Flour”);
Groceries.push(“Corn”);
Groceries.push(“Milk”);

// Let’s see the result

trace (Groceries);

Related Articles:

, , , , , , , , , , ,

Leave a Reply

Security Code:

AVA Trading Forex
WIX create a FREE website.
Try ACT! 2010 Today
Accept Credit Cards
UseNeXT Fast Downloads
For Free Stuff Click Here

Get Paid for Filling Surveys


Go Daddy $7.49.com sale 125x125 Huddle Collaboration
oDesk Certified Action Script Programmer oDesk Certified Adobe Flash CS3 Designer oDesk Certified Adobe Photoshop 6.0 Designer

Compare Web Hosting Services and Prices

web hosting - Web Hosting guide to popular hosts.

Twitter Followers