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.
|
|
|
|
|
![]() |
||
animated preloader----
|
||
| Notices |
![]() |
|
|
LinkBack | Thread Tools |
|
|||
|
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); |
|
|
|
|||
|
I don't get what you're trying to accomplish... All I could see at that link was a beating heart?
|
|
|||
|
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... |
|
|||
|
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... |
|
|||
|
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. |
|
|||
|
Quote:
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. |
|
|||
|
so mask the red one with a vertical preloader?
|
![]() |
| Tags |
| animated, preloader |
| Thread Tools | |
|
|
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 |