|
-
Moderator
Thank you very much for the help. It has been alot of fun transitioning fully to AS3.
Your example worked perfectly!! 
There's no associative array there. In fact, there's no associative array in Actionscript. You can use an Array to map strings to values in a dynamic way but that's just because it's a dynamic class. When you do that, you could just replace Array with Object and get the exact same result.
But you're not doing that. You have an actual array filled with anonymous object literals. Why do you have an 'order' property on your objects, when they are ordered by the sequence you push them in the array?
I had originally used Object instead of Array, but when I ran the .swf the menu items came in alphabetical order. So I switched to Array. They where still in alphabetical order so I used order.
But I see what you did and it is awesome. Thank you again!!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|