Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

How to use arrays with ActionScript to create randomizers

Loading...

Sign in or sign up now!
6,390
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 20, 2007

This short tutorial demonstrates what an Array is and how to use them with ActionScript to create a program that selects a random value from a list. It's a lot more interesting than it sounds :-)

Category:

Howto & Style

Tags:

License:

Standard YouTube License

  • likes, 0 dislikes

Link to this comment:

Share to:

Uploader Comments (robgraham)

  • Your A really Good Teacher!! i learned more from you in 1 hr then a flash book in 90 days lol!.

  • Thanks. I really appreciate that.

Top Comments

  • I Agree! He should be on TV :o)

see all

All Comments (7)

Sign In or Sign Up now to post a comment!
  • neat video check out my video britney spears dale

  • well u wont be displaying trace u will be displaying the array itself. like this

    _root.dynamictextname.text = myarray;

    if u want just one lement from the array

    _root.dynamictextname.text = myarray[a]

    where "a" is the element location in the array remember arrays starts at "0".

    if its a multidimentional array

    _root.dynamictextname.text = myarray[a][b];

    where "b" is the location number of the "a" element in the array.

  • Is there an easy way to display your trace/ result in a dynamic text box?

  • omg ur tuts pwn!!!!! im subscribing to u!

  • Great video, nice and clear. I'm programming in C# at the minute and although the languages are different the principles apply.

Loading...

0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more