# Someone help me?

**URL:** <https://forum.kirupa.com/t/someone-help-me/22698>\
**Category:** flash\
**Created:** [June 7, 2003, 6:38am UTC](https://forum.kirupa.com/t/someone-help-me/22698 "2003-06-07T06:38:32Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![mngBJ](https://avatars.discourse-cdn.com/v4/letter/m/a88e57/32.png) [@mngBJ](https://forum.kirupa.com/u/mngBJ)\
**Post date:** [June 7, 2003, 6:38am UTC](https://forum.kirupa.com/t/someone-help-me/22698/1 "2003-06-07T06:38:32Z")

</div>

I need very simple question about actionscript.  
My problem is getbytesloaded.  
and here is my idea and script:  
createEmptyMovieClip(“twinkle1”,4);  
twinkle1.loadMovie(“mdl3\_vid2.swf”);  
twinkle1.\_x = 5;  
twinkle1.\_y = 100;  
l = twinkle1.getBytesLoaded();  
t = twinkle1.getBytesTotal();

and my problem is i don’t know how can i code that works:

until twinkle1 is loaded loading text is shows.

HELP ME !!!  
PLEASE.

---

<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:** [June 7, 2003, 7:17am UTC](https://forum.kirupa.com/t/someone-help-me/22698/2 "2003-06-07T07:17:05Z")

</div>

The preloader should be inside the loaded movie. Find a great tutorial [here](http://www.kirupa.com/developer/mx/percentagepreloader.htm). When you’ve done that, you could simply put a loading text in the first two frames, so it will display it when loading, but it will be gone when loaded.

---

<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:** [June 7, 2003, 8:24am UTC](https://forum.kirupa.com/t/someone-help-me/22698/3 "2003-06-07T08:24:11Z")

</div>

thanx, voetsjoeba  
I have that tutor and that’s works online.  
but doesn’t work offline items.  
I did that script in 50MB file but it doesn’t work.

---

<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:** [June 7, 2003, 8:27am UTC](https://forum.kirupa.com/t/someone-help-me/22698/4 "2003-06-07T08:27:24Z")

</div>

When you say offline, I’m assuming you mean stuff on your comp.

To test your preloader on your comp, you would press Ctrl Enter and then Enter again in flash to use the bandwidth simulater.

---

<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:** [June 7, 2003, 8:40am UTC](https://forum.kirupa.com/t/someone-help-me/22698/5 "2003-06-07T08:40:32Z")

</div>

Thanx E G,  
My problem is:  
I made cd with FLASH. and that cd contains some video objects. but that file stops everything in the project. and works properly. and my preloader doesn’t work.

---

<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:** [June 7, 2003, 8:42am UTC](https://forum.kirupa.com/t/someone-help-me/22698/6 "2003-06-07T08:42:42Z")

</div>

hmm…if you’re creating a CD, then why do you need a preloader? I’ve created CD presentations with video embeded in it and I never used a preloader.

---

<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:** [June 7, 2003, 8:58pm UTC](https://forum.kirupa.com/t/someone-help-me/22698/7 "2003-06-07T20:58:47Z")

</div>

sometimes the effect is all that matters;)
