Flash Preloader for html sites
by angel5
on
Aug 22, 2005 at 4:53:57 pm
Hey guys,
Having trouble finding tutorials for this one!
Basically I'm creating a html site with flash elements (image gallery,swf). I've created the movie clip for the loader, although I have no idea how to create '% loaded'. ( I have found tons of tutorials, but they relate to flash only sites,movies etc)
Also, how do you create the preloader so that it recognises that both swf and html have loaded?
Any help would be greatful, or any links, tutorials etc...
cheers!!!
Re: Flash Preloader for html sites by Bret Williams on Aug 22, 2005 at 6:15:00 pm
I've never seen nor heard of a site doing that. So that may be why you're having trouble. Usually when a site has mixed elements, like the navigation is flash, and the text is html for example, the flash is so small that it loads pretty much instantaneously or in line with standard html elements like jpegs. The reverse is where you usually see a %loaded thing. When the navigation is html/css and the content is a large movie or intro. Usually the navigation pops up first, and the movie says %loaded. In this case you certainly wouldn't want the rest of the page to NOT show until the movie loads. People may want to go ahead and start browsing without waiting for the movie.
Does your site fit one of the two above? If not perhaps you should just do a full flash page. The preloader for flash is part of the flash file. I'm sure there's some javascript and css combo out there than can turn on the css "display" attribibute for your whole page after all elements are loaded, but I'm not sure it could know just what % there is to go.