# Custom Preloader Problems

**URL:** <https://forum.kirupa.com/t/custom-preloader-problems/254607>\
**Category:** flash\
**Created:** [March 13, 2008, 3:46pm UTC](https://forum.kirupa.com/t/custom-preloader-problems/254607 "2008-03-13T15:46:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dzhedzho](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@dzhedzho](https://forum.kirupa.com/u/dzhedzho)\
**Post date:** [March 13, 2008, 3:46pm UTC](https://forum.kirupa.com/t/custom-preloader-problems/254607/1 "2008-03-13T15:46:35Z")

</div>

Well here is a file with my preloader. The problem is if I name the button instance, flash attempts to hoist it, and exports on first frame regardless of the fact that classes should be exported on frame 2. :-/ Any ideas how to deal with this? If I uncheck the “Automatically declare stage instances” does not help either, only way is to leave them without a name, but then I have no way to get a reference to them.

[http://personal.inet.fi/koti/dzhedzho/Preloader.fla](http://personal.inet.fi/koti/dzhedzho/Preloader.fla)
