# Sluggish transitions between scenes problem

**URL:** <https://forum.kirupa.com/t/sluggish-transitions-between-scenes-problem/108289>\
**Category:** Uncategorized\
**Created:** [April 23, 2004, 1:49pm UTC](https://forum.kirupa.com/t/sluggish-transitions-between-scenes-problem/108289 "2004-04-23T13:49:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![souljunta](https://avatars.discourse-cdn.com/v4/letter/s/ebca7d/32.png) [@souljunta](https://forum.kirupa.com/u/souljunta)\
**Post date:** [April 23, 2004, 1:49pm UTC](https://forum.kirupa.com/t/sluggish-transitions-between-scenes-problem/108289/1 "2004-04-23T13:49:29Z")

</div>

I’ building a Full flash site which a gallery for a set of illustations

At the moment I’ve constructed it in the following way, I’ve used scenes

A main scene with buttons to each of the other scenes. Then each scene has a forward and back button to so the user can look through the scenes consecutativly.

The main scene has a preloader with the following code

bytes\_loaded = Math.round(\_root.getBytesLoaded());  
bytes\_total = Math.round(\_root.getBytesTotal());  
getPercent = bytes\_loaded/bytes\_total;  
\_root.loadBar.\_width = getPercent_100;  
\_root.loadText = Math.round(getPercent_100)+"%";  
if (bytes\_loaded == bytes\_total) {  
\_root.gotoAndStop(3);

}

on frame 3 of the main scene are the buttons with gotoAndPlay action to the rest of the scenes.

My problem is that when I go into the other scene and try and go backwards and forwards between scenes it’s slow and sluggish.

Does this preloader script just load the main scene ? or all the scenes in the movie ?  
Do I need to put preloaders between the scenes, if so how ?

Hope that make sence !!!

Cheers

Chris
