Wrox Programmer Forums
|
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Flash (all versions) section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old March 26th, 2007, 12:02 PM
Authorized User
 
Join Date: Mar 2007
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to dearmisskat
Default can a preloader load an html site?

hey everybody!

here is my question:

i build a mostly html site, with a little flash intro and a preloader. since the html part has lots of images, i was wondering if i can put them in my preloader as well?

and if yes, how?

thanks
katharina

 
Old March 26th, 2007, 01:31 PM
Friend of Wrox
 
Join Date: Nov 2005
Posts: 223
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Preloading your images for your HTML page would not serve any purpose i would advice you not to do this

__________________________________________________ ________
I am DJ Kat...that's my name. Its a D and a J and a Kat with a K.
 
Old March 26th, 2007, 01:40 PM
Authorized User
 
Join Date: Mar 2007
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to dearmisskat
Default

Really?

What about big Background images?
Isn't it easier and nicer for the viewer to see it all at once rather then having to wait for each page to load?

 
Old March 27th, 2007, 06:46 AM
Friend of Wrox
 
Join Date: Nov 2005
Posts: 223
Thanks: 0
Thanked 0 Times in 0 Posts
Default

If your application would be entirely in flash yes that would be nicer. Flash is usually used for graphical applications where the look is as important or more important then the information it contains.
But in HTML this is different the main purpose of an HTML page is to give a user information, images mostly only serve as decoration. If I have a really slow internet connection and I need information ASAP, I don't want to want to wait for some preloader before i can view the webpage.

__________________________________________________ ________
I am DJ Kat...that's my name. Its a D and a J and a Kat with a K.
 
Old March 27th, 2007, 03:15 PM
Authorized User
 
Join Date: Mar 2007
Posts: 16
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to dearmisskat
Default

http://www.ninehours.net/blvd/index.html

This site happens to be very much on the decorative site, so i would like the background to instantly appear.

how do i put it in the preloader? is it enough to import it in the library or should i put it on a hidden layer?



 
Old March 27th, 2007, 03:56 PM
Wrox Author
 
Join Date: Oct 2005
Posts: 4,104
Thanks: 1
Thanked 64 Times in 64 Posts
Send a message via AIM to dparsons
Default

If you are using the image inside of a flash movie i have no point of reference but if you mean to say that this image is being display physically on the HTML page itself you could cheat. By cheat I mean on the page that contains your preloader do something like:

<img src="./images/big_background_file.png" width=1 height=1>

At 1px x 1px noone will see it.

================================================== =========
Read this if you want to know how to get a correct reply for your question:
http://www.catb.org/~esr/faqs/smart-questions.html
^^Took that from planoie's profile^^
^^Modified text taken from gbianchi profile^^
================================================== =========
Technical Editor for: Professional Search Engine Optimization with ASP.NET
http://www.wiley.com/WileyCDA/WileyT...470131470.html
================================================== =========
Why can't Programmers, program??
http://www.codinghorror.com/blog/archives/000781.html
================================================== =========





Similar Threads
Thread Thread Starter Forum Replies Last Post
Multilingual Classic ASP + HTML Site rnalavade Classic ASP Basics 1 September 27th, 2007 03:50 PM
How do I send Post data to a Html site savejonas ASP.NET 2.0 Basics 1 June 2nd, 2006 02:05 PM
How to load 6 diff html pages with 1 mouse click bekim Javascript How-To 13 January 23rd, 2005 08:43 PM
preloader being ignored Adam H-W Flash (all versions) 8 March 12th, 2004 01:23 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.