# Object instantiation problem

**URL:** <https://forum.kirupa.com/t/object-instantiation-problem/283164>\
**Category:** flash\
**Created:** [March 3, 2009, 9:30am UTC](https://forum.kirupa.com/t/object-instantiation-problem/283164 "2009-03-03T09:30:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisg1979](https://avatars.discourse-cdn.com/v4/letter/c/ecd19e/32.png) [@chrisg1979](https://forum.kirupa.com/u/chrisg1979)\
**Post date:** [March 3, 2009, 9:30am UTC](https://forum.kirupa.com/t/object-instantiation-problem/283164/1 "2009-03-03T09:30:59Z")

</div>

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?

```auto

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

```

Thanks for your help
