Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - If you know Flash Mx (Preloader Problem)
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

If you know Flash Mx (Preloader Problem)

 Post Reply Post Reply
Author
neotrix View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 09 November 2003
Location: Pakistan
Status: Offline
Points: 433
Post Options Post Options   Thanks (0) Thanks(0)   Quote neotrix Quote  Post ReplyReply Direct Link To This Post Topic: If you know Flash Mx (Preloader Problem)
    Posted: 10 February 2005 at 4:01am

I tried making a single Framed, and the smallest in size preloader.
The first frame contains a masked layer, the other layer has a progress bar, and it moves from 1 point to the other, showing the progress made by the preloader. The actions of the first frame are:

intBytesLoaded = 0;
intBytesTotal = getBytesTotal();
intTotalProgress = 0;
while (intTotalProgress<100) {

intBytesLoaded = getBytesLoaded();
intTotalProgress = (intBytesLoaded/intBytesTotal)*100;
clpProgressBar._x = 41.3 + (3.21 * intTotalProgress);

//in the last line, 41.3 is the place where the progress is
//zero. And 3.21 is the rate with which it will move towards
//right to reach 100%.


}



Now the problem that I am facing is that this preloader works fine if I just test the preloader scene. But when I complie the whole flash movie (0.98 MB) it gives me an error. It says the script in the movie is causing your computer to slow down and must be terminiated etc etc... Why dose it happen? I mean I dont see anything wrong with it? Plus, if the script works fine for the preloader scene, why not for the full movie? Whats going on? I am cluless. Please help me.

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.