# Pre-Loader Problem!

**URL:** https://forum.kirupa.com/t/pre-loader-problem/220908
**Category:** flash
**Created:** [March 30, 2007, 9:34am UTC](https://forum.kirupa.com/t/pre-loader-problem/220908 "2007-03-30T09:34:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![PreLoader](https://avatars.discourse-cdn.com/v4/letter/p/b487fb/32.png) [@PreLoader](https://forum.kirupa.com/u/PreLoader)
#### Post date: [March 30, 2007, 9:34am UTC](https://forum.kirupa.com/t/pre-loader-problem/220908/1 "2007-03-30T09:34:56Z")

</div>

Hi All,

I’m new here so please go steady… (-:

I’m building my first ever Flash website for a relatives’ hairdressers. It’s not quite finished (awaiting professional photographer delivering more images) but I’m generally happy with the animation for a first attempt. However, my problem is this - before I added in the pre-loader the site would load and the Home Page animation would play as I’ve added a variable called currentPage:

var currentPage = “contentHome\_mc”;  
\_root.onLoad = function() {  
animateOn(“contentHome\_mc”);  
};

Since I’ve added the pre-loader, the site loads but this first animation doesn’t play. It will however play if you click away from the Home Page and back again. Any ideas???

The URL is here:

[http://www.nextimagesalons.co.uk/](http://www.nextimagesalons.co.uk/)

Many thanks for any help.

Cheers,

Gary
