# Stop loading?

**URL:** <https://forum.kirupa.com/t/stop-loading/105795>\
**Category:** Uncategorized\
**Created:** [March 29, 2004, 10:33pm UTC](https://forum.kirupa.com/t/stop-loading/105795 "2004-03-29T22:33:49Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Uli](https://avatars.discourse-cdn.com/v4/letter/u/ccd318/32.png) [@Uli](https://forum.kirupa.com/u/Uli)\
**Post date:** [March 29, 2004, 10:33pm UTC](https://forum.kirupa.com/t/stop-loading/105795/1 "2004-03-29T22:33:49Z")

</div>

hello fellas,

I’m using a very basic script for a pre loading:

[AS]  
onClipEvent (enterFrame) {  
bytes\_loaded = Math.round(\_root.getBytesLoaded());  
bytes\_total = Math.round(\_root.getBytesTotal());  
getPercent = bytes\_loaded/bytes\_total;  
this.\_width = getPercent_187;  
\_root.loadtext = Math.round(getPercent_100)+"% please wait…";  
if (bytes\_loaded == bytes\_total && bytes\_loaded \> 0) {  
\_root.gotoAndStop(3);  
}  
}  
[/AS]

But i added a “skip” button… When i press it, the root goes to frame 3 where a stop is and nothing else. But it keeps on loading… So how do you tell flash: “Stop loading you \*\*\*\*”  
🙂
