OZONE Asylum
Forums
Multimedia/Animation
Multi-Dimensional Arrays in AS
This page's ID:
22525
Search
QuickChanges
Forums
FAQ
Archives
Register
Edit Post
Who can edit a post?
The poster and administrators may edit a post. The poster can only edit it for a short while after the initial post.
Your User Name:
Your Password:
Login Options:
Remember Me On This Computer
Your Text:
Insert Slimies »
Insert UBB Code »
Close
Last Tag
|
All Tags
UBB Help
I think your syntax is close but not quite there. I think it should be node=point_set[i][j]; in other words, the "j" element of the "i" element of the array "point_set". You might still use the [[...],[...]]; syntax to create the multidimensional array, but not to refer to a specific value in the set. Poi's right to suppose that it's essentially the same as JavaScript, since they share a common ECMAScript lineage. Take a glance at http://www.macromedia.com/support/flash/ts/documents/twodarray.htm and http://actionscript-toolbox.com/arrayobject2.php
Loading...
Options:
Enable Slimies
Enable Linkwords
« Backwards
—
Onwards »
Maximum Security
OZONE
DHTML/Javascript
Server-Side Scripting - Oh my!
CSS - DOM - XHTML - XML - XSL - XSLT
Stupid Basic HTML
Visual Therapy
Photoshop
Photoshop Pong, Anyone?
***WARNING*** BIG SIG APPROACHING
Photography
3D Modelling & Rendering
Multimedia/Animation
Print Graphics
Holding Pens
Philosophy and other Silliness
Outpatient Counseling
Site reviews!
Mad Scientists' Laboratory
Getting to know the Grail