# Preloading inside slide screens

**URL:** <https://forum.kirupa.com/t/preloading-inside-slide-screens/304017>\
**Category:** Uncategorized\
**Created:** [January 30, 2010, 8:34pm UTC](https://forum.kirupa.com/t/preloading-inside-slide-screens/304017 "2010-01-30T20:34:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![allendupras](https://avatars.discourse-cdn.com/v4/letter/a/5e9695/32.png) [@allendupras](https://forum.kirupa.com/u/allendupras)\
**Post date:** [January 30, 2010, 8:34pm UTC](https://forum.kirupa.com/t/preloading-inside-slide-screens/304017/1 "2010-01-30T20:34:39Z")

</div>

Hello,

I’m having difficulty’s preloading inside a slide screen.

here are the files

> **[MediaFire](https://www.mediafire.com/?sharekey=73f321159e8204e1312dbd5f2bdc50620af0e331787955139b20786b9a6e1ed0)**
>
> MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.

open content.swf and click the right arrow key…  
It will go to the next slide screen were on the first frame I have

```auto
container_mc.loadMovie("preload1.swf");

```

The preload1.swf has this in it’s action layer

```auto
var l:Loader = new Loader();
l.contentLoaderInfo.addEventListener(ProgressEvent.PROGRESS, loop);
l.contentLoaderInfo.addEventListener(Event.COMPLETE, done);
l.load(new URLRequest("1.swf"));

function loop(e:ProgressEvent):void
{
    var perc:Number = e.bytesLoaded / e.bytesTotal;
    percent.text = Math.ceil(perc*100).toString();
}

function done(e:Event):void
{
    removeChildAt(0);
    percent = null;
    addChild(l);
}

```

I used this tutorial for that  
[http://www.gotoandlearn.com/play?id=85](http://www.gotoandlearn.com/play?id=85)

1.swf is what I want to load there but i don’t understand why it wont??  
Any suggestions?? do you think this is the right approach for preloading within slide screens???  
Even if you can’t help completely I would love to here ideas on what I can do!! 🙂

thankyou,
