dcsimg
A Flash Developer Resource Site

Results 1 to 3 of 3

Thread: what's the easiest way to make an array of objects using an actionscript?

  1. #1
    Junior Member
    Join Date
    Jan 2001
    Posts
    13

    Smile

    Hi pals, I would like to know how to make an array of one object by using a simple chain of action scripts?
    Elsewhere this site really roooOOOoooocks the block! Everything is simple to be accessed here see ya

  2. #2
    Senior Member
    Join Date
    Oct 2000
    Posts
    518

    resolved

    There are 2 ways. See which you prefer.

    testing = new Array (object1,object2,object3)

    OR

    testing = new Array()
    testing[0] = "object1"
    testing[1] = "object2"
    testing[2] = "object3"

    Hope this helps!

    Kidder

  3. #3
    Junior Member
    Join Date
    Jan 2001
    Posts
    13

    yeah thanx Kidder I'll put a hand on it

    that will help me sure, thanks. In fact I thought that the array actionscript was only for variables and strings. Hey dudes think Flash 5 is going to be my next passion, especially with some really handly forums like this one.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center