Your dictionary is built off of that goto attribute but then you're
passing in an instance of the object into the dictionary array.
You have not assigned a name property to your assets. So when defining
them you might also set the .name property to the @goto attribute.
e.target as String will
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of jonathan
howe
Sent: 04 September 2009 14:34
To: Flash Coders List
Subject: Re: [Flashcoders] problem with dictonary on dynamic buttons
Your dictionary is built off of that goto attribute but then you're
passing in an instance of the object
[mailto:flashcoders-boun...@chattyfig.figleaf.com] On Behalf Of jonathan
howe
Sent: 04 September 2009 14:34
To: Flash Coders List
Subject: Re: [Flashcoders] problem with dictonary on dynamic buttons
Your dictionary is built off of that goto attribute but then you're
passing in an instance
ok i'm creating a dictionary to store the values contained by some sprites
that im using as button but i keep getting term undefined when i click on
the item in the output.
//create dictionary to store data
public var dict:Dictionary = new Dictionary();
for (var Wi:int=0; Wi len;
4 matches
Mail list logo