# NaN and why?

**URL:** <https://forum.kirupa.com/t/nan-and-why/223608>\
**Category:** Uncategorized\
**Created:** [April 24, 2007, 10:30am UTC](https://forum.kirupa.com/t/nan-and-why/223608 "2007-04-24T10:30:16Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![brndn](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@brndn](https://forum.kirupa.com/u/brndn)\
**Post date:** [April 24, 2007, 10:30am UTC](https://forum.kirupa.com/t/nan-and-why/223608/1 "2007-04-24T10:30:16Z")

</div>

heyall  
I am creating a preloader for a an image that is drawn from an xml attribute linkage.  
within the instance of the item being loaded there is an onEnterframe that contains this preloader.

```auto
  var tot = container.getBytesTotal();
        var load_bytes = container.getBytesLoaded();
var cont_loader:Number = ((load_bytes/tot )*100);
		_root.load_area.read_loader = cont_loader;
		

```

for a very brief moment before the preloader has began it displays NaN.

I am guessing that the onEnterFrame begins before the graphic is pulled into the swf file…

So does NaN stand for Nothing and Nowhere??
