# Preloader completes but object is still null

**URL:** https://forum.kirupa.com/t/preloader-completes-but-object-is-still-null/248381
**Category:** flash
**Created:** [January 7, 2008, 7:53pm UTC](https://forum.kirupa.com/t/preloader-completes-but-object-is-still-null/248381 "2008-01-07T19:53:34Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![dataxa](https://avatars.discourse-cdn.com/v4/letter/d/c0e974/32.png) [@dataxa](https://forum.kirupa.com/u/dataxa)
#### Post date: [January 7, 2008, 7:53pm UTC](https://forum.kirupa.com/t/preloader-completes-but-object-is-still-null/248381/1 "2008-01-07T19:53:34Z")

</div>

I have searched forums and google but still with no success. My problem is that after loader being 100% complete, i am trying to access some objects on stage(dragged to there from library) but compiler says that the object is null, and seems to me like it has not loaded yet. I know (tested it with onenterframe event) that second later, if i try to access the object with same line of code and same place, i can access it and it is not null anymore. Very strange, am i doing anyhting wrong?

All code is on .as file which is also the main class.
