I still can't get this! Nested dictionaries

I’m getting closer. I need (I think) to use nested dictionaries because I need to easily reference the parent and child objects in case the user changes something, it needs to rewrite the entry associated with that object.

I highlighted the code that I am having problems with. Ultimately I need to know what is in the array nested inside of 2 dictionaries.


var fileMap:Dictionary = new Dictionary();
var choiceMap:Dictionary = new Dictionary();
var fileMapRef:Object = new Object();
var choiceMapRef:Object = new Object();
var choiceName:String = "";
var choiceVsFile:Array = new Array();


function drawStart(evt:MouseEvent):void
{
 fileMapRef = evt.currentTarget.parent;
 choiceMapRef = evt.currentTarget;
 choiceName = evt.currentTarget.label;
}


function drawFinish(evt:MouseEvent):void
{
 choiceVsFile = [choiceName,evt.currentTarget.parent.name];
 choiceMap[choiceMapRef] = choiceVsFile;
 fileMap[fileMapRef] = choiceMap;
 
[COLOR=darkred] for (var prop:* in fileMap[fileMapRef]) 
 {
  forCounter++;
  trace(fileMap[fileMapRef]choiceMap);
 }[/COLOR]
 trace(forCounter);
 forCounter = 0;
}