animated preloader----

This is a discussion on "animated preloader----" within the Flash & Multimedia Forum section. This forum, and the thread "animated preloader---- are both part of the Design Your Website category.



Go Back   Webforumz.com > Main Forums > Design Your Website > Flash & Multimedia Forum

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jun 5th, 2005, 03:31
Junior Member
Join Date: Mar 2005
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
animated preloader----

http://www.eggrollindustries.com/preloader.swf

im trying to make something like that...

before i wanna waste 2 hours frustrating myself with actionscript again.. would anyone know which would work better.. or at all?

clip_mc.onEnterFrame = function() {
var getPercent = _root.getBytesLoaded() / _root.getBytesTotal();
var goFrame = Math.round(getPercent * 50);
this.gotoAndStop(goFrame);
if (goFrame == 50) { // preloading finished
_root.nextFrame();
}


or

total = Math.round(mc.getBytesTotal());
loaded = Math.round(mc.getBytesLoaded());
per = loaded/total*100;
myLoaderBarMCWith100Frames.gotoAndStop(per);
Reply With Quote

  #2 (permalink)  
Old Jun 5th, 2005, 17:07
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
I don't get what you're trying to accomplish... All I could see at that link was a beating heart?
Reply With Quote
  #3 (permalink)  
Old Jun 5th, 2005, 23:27
Junior Member
Join Date: Mar 2005
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
lol yea sry forgot to explain a lil more i guess.

k heres the low down 8)

this guy wants a preloader that is a beating heart(with noise)and instead of a regular preloader from one end 0% to another 100% it will drain the heart of color.

in other words.. as the flash movie loads the heart will drain from red to grey.. as if you were drinking water out of a glass with a straw.. how it gradually descends.

not a color fade, but actual physical red bar dropping revealing a grey heart.

i had an idea to mask a red preloader with a grey heart but it didnt work out too well...
Reply With Quote
  #4 (permalink)  
Old Jun 6th, 2005, 03:39
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Ok, try using a greyscale heart and, in front of it, a coloured one. Use the setproperty() function to set the alpha of the coloured heart to the percentage of the loaded movie. So as the movie loads, more of the greyscale heart is visible. As long as they both 'beat' at the same time, it should look good.

However I'm worried that the effect won't be one that people will understand. Things don't slow down as they load, do they? And a beating heard that simply changes colour doesn't strike me as an indication that a file is loading? I would suggest keeping some other kind of visual effect to demonstrate that loading is occurring. Maybe have a percentage fade in in front of the heart every few seconds? That should be subtle enough, but yet usable, especially if the value is frozen when it fades in...
Reply With Quote
  #5 (permalink)  
Old Jun 6th, 2005, 04:15
Junior Member
Join Date: Mar 2005
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
yea thats what i kinda thought.. its gunna not be as distinctive as a regulare preloader or something.. maybe i can convince him to use a cool but regular bar preloader..

which also gave me another idea.

if you used the code:

startDrag ("preloader", true);
Mouse.hide();

would your preloader follow your mouse? if so that would be kinda coo.
Reply With Quote
  #6 (permalink)  
Old Jun 6th, 2005, 11:09
Junior Member
Join Date: May 2005
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Quote:
Originally Posted by master_phat
in other words.. as the flash movie loads the heart will drain from red to grey.. as if you were drinking water out of a glass with a straw.. how it gradually descends.
Here's how i would do it:

As Sirkent said, you need a greyscale and a color version of your heart on top of it.
Have a solid rectangular mask over the colored heart move according to the percentage. You start with the mask showing all of the colored heart, and then it goes down, gradually revealing the greyscale version.
Reply With Quote
  #7 (permalink)  
Old Jun 7th, 2005, 05:07
Junior Member
Join Date: Mar 2005
Posts: 47
Thanks: 0
Thanked 0 Times in 0 Posts
so mask the red one with a vertical preloader?
Reply With Quote
  #8 (permalink)  
Old Jun 7th, 2005, 11:29
Most Reputable Member
Join Date: Jul 2003
Posts: 1,856
Thanks: 0
Thanked 0 Times in 0 Posts
Yes, so more of it is shown as the movie loads - it's a good idea.
Reply With Quote
Reply

Tags
animated, preloader

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
more than one animated button for menu ketanco JavaScript Forum 4 May 22nd, 2008 22:56
Animated Eyes Help Aaron1988 Flash & Multimedia Forum 25 Sep 17th, 2007 15:08
animated drop down menu dancingmunkee Starting Out 4 May 14th, 2007 09:16
tiling animated gif in IE smudger Web Page Design 6 Jan 31st, 2007 11:04
animated preloader? moomin82 Flash & Multimedia Forum 1 Mar 19th, 2006 14:47


All times are GMT. The time now is 01:50.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43