# Generic object property "undefined"?

**URL:** <https://forum.kirupa.com/t/generic-object-property-undefined/220473>\
**Category:** Uncategorized\
**Created:** [March 26, 2007, 6:53pm UTC](https://forum.kirupa.com/t/generic-object-property-undefined/220473 "2007-03-26T18:53:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![zolividor](https://avatars.discourse-cdn.com/v4/letter/z/9fc348/32.png) [@zolividor](https://forum.kirupa.com/u/zolividor)\
**Post date:** [March 26, 2007, 6:53pm UTC](https://forum.kirupa.com/t/generic-object-property-undefined/220473/1 "2007-03-26T18:53:58Z")

</div>

Hi Flashies, I’ve been having trouble with a simple generic object. I took this example from the help file : var myPoint:Object = {x:50, y:20}; When I paste it into a new flash file and trace it, I get x = 50 and y = 20 . As expected. When I paste it into a file I have been working on, in the root, on it’s own layer, I get “undefined” for the x & y properties. There are no other variables in my file called “myPoint”. Can anyone suggest how I may go about trouble shooting this? Has anyone see this before? Thanks in Advance.
