I have tried this 7 different ways but I can’t get it to work. I am trying to nest 2 dictionaries and use objects as indexes. No matter which object I choose I get EVERYTHING in the main dictionary. The object indexing does not seem to be working.
Can someone help me with this? I have been struggling with this off and on for weeks!
public function handleMapping(fileMapRef:Object, choiceMapRef:Object)
{
choiceMap[choiceMapRef] = choiceMapRef.label;
fileMap[fileMapRef.name] = choiceMap;
//trace(choiceMap[choiceMapRef])
for (var prop2:* in choiceMap)
{
trace(fileMap[fileMapRef.name][prop2]);
}
}