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:

, , , , , , , , , , ,

104 Responses to “ActionScript 3.0 Lesson 19: Creating Arrays and the Push Method”


Trackbacks/Pingbacks

  1. dog rescue says:

    dog rescue…

    [...]always a huge fan of linking to bloggers that I adore but do not get a whole lot of link love from[...]…

  2. SEO Company says:

    Title…

    Ugh, I just wrote a long comment, but it disappeared when I clicked send. Anyway, I’m not going to redo it again, so I just wanted to say cool blog! Better than http://facebook.com! :-)

  3. tutorial para photoshop…

    [...]Sites of interest we have a link to[...]…

  4. ares says:

    xs free download…

    [...]frostwire, ares, Sites of interest we have a link to[...]……

Leave a Reply

You must be logged in to post a comment.

My name is Avraham Saltoun, and I live in Jerusalem, Middle East. I am currently on my mid  40's and I am a computer programming technician. Here you will find over one hundred quality video tutorials on Actionscript, and yes, I give online support for aspiring programmers, and pros as well, sharing screen on skype and delivering source code by email, click the button for live flash actionscript support now!

 
oDesk Certified Action Script Programmer
oDesk Certified Adobe Flash CS3 Designer
oDesk Certified Adobe Photoshop 6.0 Designer
Skype Me™!

$7.49 .Com! Score Savings Cartoon Smart Tutorials


839
Unique Visitors
Previous 30 Days
Powered By Google Analytics