# Preload external swf's - preloader blinks for a sec. and disapears

**URL:** <https://forum.kirupa.com/t/preload-external-swfs-preloader-blinks-for-a-sec-and-disapears/62605>\
**Category:** Uncategorized\
**Created:** [August 29, 2004, 8:41pm UTC](https://forum.kirupa.com/t/preload-external-swfs-preloader-blinks-for-a-sec-and-disapears/62605 "2004-08-29T20:41:09Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![simondo](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@simondo](https://forum.kirupa.com/u/simondo)\
**Post date:** [August 29, 2004, 8:41pm UTC](https://forum.kirupa.com/t/preload-external-swfs-preloader-blinks-for-a-sec-and-disapears/62605/1 "2004-08-29T20:41:09Z")

</div>

here’s my script:

bytes\_loaded =Math .round (this .getBytesLoaded ()) ;  
bytes\_total =Math .round (this .getBytesTotal ()) ;  
getPercent =bytes\_loaded /bytes\_total ;  
this .loadBar .\_width =getPercent \*100 ;  
this .loadText =Math .round (getPercent \*100 )+ “%” ;  
if (bytes\_loaded == bytes\_total ){

```
this .gotoAndPlay (3);

```

}

Why doesn’t the preloader display in a normal way??? it blinks, showing “9%” and then disapears

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 30, 2004, 7:29am UTC](https://forum.kirupa.com/t/preload-external-swfs-preloader-blinks-for-a-sec-and-disapears/62605/2 "2004-08-30T07:29:45Z")

</div>

Have you tried, while testing the movie, hit CTRL+Enter again (to simulate a download)?

scotty(-:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 30, 2004, 1:36pm UTC](https://forum.kirupa.com/t/preload-external-swfs-preloader-blinks-for-a-sec-and-disapears/62605/3 "2004-08-30T13:36:16Z")

</div>

> [@scotty](#):
>
> Have you tried, while testing the movie, hit CTRL+Enter again (to simulate a download)?
> 
> scotty(-:

yeah - i’ve even uploaded the files to my server… so it’s kinda strange! i’m workin’ on a suitable solution though - hope it’ll work!!!

still - if there’s anyone who has any idea why the preloader doesn’t work, please post your ideas…

simondo

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 30, 2004, 2:54pm UTC](https://forum.kirupa.com/t/preload-external-swfs-preloader-blinks-for-a-sec-and-disapears/62605/4 "2004-08-30T14:54:49Z")

</div>

Hmm, maybe your file is too small or…??  
Can you post your .fla?

scotty(-:

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 1, 2004, 7:04am UTC](https://forum.kirupa.com/t/preload-external-swfs-preloader-blinks-for-a-sec-and-disapears/62605/5 "2004-09-01T07:04:13Z")

</div>

hi!

sorry for the late answer! i tried to upload the fla to yoy scotty, but the file was to large…

i’ve found a solution to my problem though - a preload component which refers to the MC in my parent movie that the external swf is loaded into… and it works:pleased:

see 'ya 'round the forums

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 1, 2004, 10:24am UTC](https://forum.kirupa.com/t/preload-external-swfs-preloader-blinks-for-a-sec-and-disapears/62605/6 "2004-09-01T10:24:39Z")

</div>

Glad you’ve found a solution=)

scotty(-:
