Jerry,
For completeness, if you did want to pass name/value pairs into your Flash movie then
don't use an Array in your SWF, use a generic object behaving as an associative array.
In my earlier example you likely would have coded your AS something like this:
// create a global array
gArray = new Array();
Then you'd have called my handler following my example. Instead you might use an
associative array (an object) like this:
// create an associative array
gArray = new Object();
Then the repeat loop code in my example handler would change to:
on pushValuesIntoArray (aSprite, aArray, aList)
...
repeat with aIndex = 1 to tCount
tProp = string(aList.getPropAt(aIndex))
tValue = aList[aIndex]
tArray[tProp] = tValue
end repeat
end pushValuesIntoArray
Then inside of Flash you now have an associative array allowing this kind of data
access:
// pull the "foo" property from the associative array
trace(gArray.foo);
Make sense? Hope it helps...
Cheers,
Tom Higgins
Product Specialist - Director Team
Macromedia
...
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi To post messages to the list, email [EMAIL
PROTECTED] (Problems, email [EMAIL PROTECTED]). Lingo-L is for learning and helping
with programming Lingo. Thanks!]