-
Preloaders
I was wondering if someone could tell me how to make preloaders like the ones on www.wrecked.nu where the wings fill up. Thanks
-
There must be someone out there who knows how its done
-
It's so fast on a fast connection, you can barely see it... But it simply looks like an expanding filling shape behind a masked layer being what you call the "wings"!
Last edited by oldnewbie; 04-06-2003 at 11:26 AM.
-
imagination through stupidity
yea, i think its just a mask.. your mask is in the shape of the object, and just scale your preloader.. verticaly
Nothing to see here, move along.
-
Senior Member
Its a normal preloader but the percentage variable is used to tell a movieclip (the wings) to go to the same frame as the percentage is.
So the wings movieclip is a 100 frame animation ( filling up).
wingsMC.gotoAndStop(percentage)
Like if you have your preloader code ON the wings mc
onClipEvent (enterFrame) {
// PRELOADER PART
tb = math.round(_parent.getBytesTotal()/1024);
lb = math.round(_parent.getBytesLoaded()/1024);
percentage= math.round((lb/tb)*100);
this.gotoAndStop(percentage)
if (lb>5) {
if (procent == 100) {
_parent.play();
}
}
}
-
imagination through stupidity
Originally posted by pellepiano
Its a normal preloader but the percentage variable is used to tell a movieclip (the wings) to go to the same frame as the percentage is.
So the wings movieclip is a 100 frame animation ( filling up).
wingsMC.gotoAndStop(percentage)
Like if you have your preloader code ON the wings mc
onClipEvent (enterFrame) {
// PRELOADER PART
tb = math.round(_parent.getBytesTotal()/1024);
lb = math.round(_parent.getBytesLoaded()/1024);
percentage= math.round((lb/tb)*100);
this.gotoAndStop(percentage)
if (lb>5) {
if (procent == 100) {
_parent.play();
}
}
}
the only prob w/ doin it that way, is that the file gets larger.. and the preloader take too much kb.
Nothing to see here, move along.
-
-
imagination through stupidity
omg; get a new name for your co.
Nothing to see here, move along.
-
But that's a foetus fill and not a wings one!
-
What's wrong with the name Sybersnake?
-
Nothing! It just does business on the moon!
-
imagination through stupidity
Nothing to see here, move along.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|