Hello there,
Does anyone knows how to make a circle preloader like
the one on Macromedia web page?
Thanks
Hello there,
Does anyone knows how to make a circle preloader like
the one on Macromedia web page?
Thanks
draw the ‘circle’ and convert it to an MC… call it “myMC”
have this script on the root timeline:
stop()
speed = 5
onEnterFrame = function() {
bloaded = _root.getBytesLoaded
toLoad = _root.getBytesTotal
if(bloaded<toLoad) {
myMC._rotation += speed
} else {
delete this.onEnterFrame
play()
}
}
Hello again…
I´ve just try this code , but doesn´t work…
I did a streaming play , and what happen was that the circle disapear and
then after a while it apears and dont even makes the rotation…
I´ve put a video on the 2 frame of the _root timeline…
Strange , cos the code seems ok…
If you can try an example and put it on here to download will it be
great!
I can´t put my example here cos im using Macintosh and this forum
doesn´t accept .fla or .swf files from Mac…:hair:
Thanks again
oh… i was assuming you had the contents on the root timeline. can you zip the fla and attach it?
Yes, i have the contents on the root timeline… on frame 2
on frame 1 i have the preloader and the code that you gave me…
Sorry i can´t put zip file cos im on a MAC and macintosh only works with
compress .sit and hqx files.
Hmm… email it to me
swf_builder at yahoo dot com
I’ll have a look
yeah… :sleep:
ok
i just send it
Did you already check the file?
Ahmed
Get back to me
thanks.
Could’nt run it. I thought i would be able to view mac’s FLA files
sorry
But ,
Did you open in your email?
I can try to send it again and encoding for Windows:)
that should help…
but… you said
I did a streaming play , and what happen was that the circle disapear and
then after a while it apears and dont even makes the rotation…
I´ve put a video on the 2 frame of the _root timeline…
Strange , cos the code seems ok…
…and then…
Yes, i have the contents on the root timeline… on frame 2
on frame 1 i have the preloader and the code that you gave me…
I’m kind of confused
ok,
check your email, i´ve just send it
I deleted everything that was on second frame, so you can put whatever you want:)
oh ****!!!
silly me!
the lines
bloaded = _root.getBytesLoaded
toLoad = _root.getBytesTotal
should be
bloaded = _root.getBytesLoaded()
toLoad = _root.getBytesTotal()
If you’re on a not-so-fast connection, tell me whether this example works here
Great
thanks,
I just saw the link you post , and that´s exactly what i was looking,
besides that circle was a **** , but that was only an example:sure:
So, did the file that i´ve email you, was ok?
with the right extension?
yeah, it worked fine…
sorry it took so long to get this working, could’ve taken way less time eh
no problem:)
thanks again,
i´ve put you in my buddy list…
See you.
:: Copyright KIRUPA 2024 //--