Object instantiation problem

Hi everyone,

I’m having a bit of an issue with creating an associative array to hold name value pairs. I’m using the code below but I get ‘1120: Access of undefined property SPECIFIC_TRANSITIONS’. Is this because I’m trying to add properties before instantiation of the Object is complete?


var SPECIFIC_TRANSITIONS:Object = new Object();
SPECIFIC_TRANSITIONS.HomePageIn = "SpecificIn";
SPECIFIC_TRANSITIONS.HomePageOut = "SpecificOut";

Thanks for your help