# Different behaviour

**URL:** <https://forum.kirupa.com/t/different-behaviour/314022>\
**Category:** flash\
**Created:** [September 16, 2010, 10:44am UTC](https://forum.kirupa.com/t/different-behaviour/314022 "2010-09-16T10:44:19Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![IlTimido](https://avatars.discourse-cdn.com/v4/letter/i/f1d935/32.png) [@IlTimido](https://forum.kirupa.com/u/IlTimido)\
**Post date:** [September 16, 2010, 10:44am UTC](https://forum.kirupa.com/t/different-behaviour/314022/1 "2010-09-16T10:44:19Z")

</div>

Hi,  
Today while debugging an application I found a really strange behaviour.  
Here it is what I have found:

Create a new as3 FLA and type this in the first frame:

var p:Object = new Object();  
p[“052”] = “052”;  
p[“002”] = “002”;  
for (var a in p){  
trace(a)  
}

if you run it from Flash IDE it will trace:

52  
002

Then publish the html and run it from inside a browser.

If you have flashtracer installed, you will see that this time it will trace:  
052  
002

I know, you can ask “why the hell you create a property named with numbers?”  
The answer is that these properties are created on the fly by reading from a webservice but I don’t really know why this was the choice.

However it’s a bug, unfixable in the IDE.
