Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

preloader is startting half percent...not from the beginning anyway

Status
Not open for further replies.

bubu

Programmer
Mar 3, 2002
463
RO
Hello!

All my preloaders i did so far have this "bug"...and i tried different preload techniques.....for example....i made a simple preloader....just a preloader bar, a percentage text, ...no fncy aniations....but the preloader scene is not loading immediatelly...it takes a time to show up...and the preloading items are showing up after a while...and they are at 40% let's say...depending on the size of the movie.....

do any of you guys know another "great" :) technique for preloading?...we can't make two movies instead of 2 scenes?...there is such a technique?

Regards,
Dragos.


 
Oh, except one thing that I just realized as I clicked "Submit Post": why is my loading bar going from the center out?
 
Guess this would be worth being marked as a helpful post then!

Double click your loadbar movie clip's to edit your loadbar shape and set it's x=0.0
Then reposition the loadbar movie clip to 205.4 rather than what you had 275.4

You could also change _width with _xscale in this line...

this.loadBar._width = getPercent*100;



Regards,

cubalibre2.gif
 
Couldn't get it, but that's no big deal. Doesn't bother me, really. Thanks again, man. You're a lifesaver.
 
Hello!

Sorry it took so long to answer this.

"That's still MX2004 format, or you're on Mac, and the file must be zipped us for us PC users to be able to open it up!
"

I'm not on MAc, i'm on pC also...and yes is Mx2004 format...can't you deal with this format?...if not i will make an MX format...it's a technique i also learner from you Oldnewbie...here are the actions on the movie that contains all on the first frame of the preloader scene (percentage bar, percentage text, etc):

onClipEvent (enterFrame)
{
kbloaded=int(_root.getBytesLoaded()/_root.getBytesTotal()*100);
percentage.percent = kbloaded + "%";
barwidth=kbloaded*1.195;
loadbar._width=barwidth;
percentage._x=barwidth;
if (kbloaded == 100)
{
_root.gotoAndPlay("main");
} // end if
}


Regards,
Dragos.


 
No I can't open MX2004 files! MX only!

That said my above link still works. But you'll only really see the full preloading on a slow connection, otherwise it's just too fast.

Regards,

cubalibre2.gif
 
hey sorry i also got the similar problem. I tried to use your proloader to import into my fla, but it still havent shown anything b4 it totally loaded. I used 5 to do the page as well and i m using MX at this moment....
 
Link is dead!

Going out anyways... Will check back later today when I return.

Regards,

cubalibre2.gif
 
Link is dead!

Going out anyways... Will check back later today when I return.

Would be better to zip it up!

Regards,

cubalibre2.gif
 
I uploaded to my school's server, would you mind to login to,

myftp.sd.polyu.edu.hk
login name: 00154693d
Passward: kmbb1126

the file are in the folder named "my folder"
and the file name is a107_101803.fla

sorry that is a bit complicated......
 
Complicated and I now have problems loging on! Can't access that folder?


Regards,

cubalibre2.gif
 
by the way, I created 3 sences when i did this project. Is it where the problem come from??
but one of the sence are too complicated and was done long time b4, so that is not really possible to move all of those into the same sence.
the preloader scripts are in the sence called "londing"
regards,
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top