Don't use DynAPI for something that can be done without..
You are just making more of a headache for yourself,
and making the user wait longer for your site to load..
Just use dreamweaver to make standard HTML rollover images,
then cut-and-paste the HTML (and DW javascript functions) into you app,
This will load faster and require less rock-tossing on my part...
----- Original Message -----
From: "Chris Lemon" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, March 08, 2001 7:28 AM
Subject: [Dynapi-Help] Preloading Images
> Does anyone have a good way to preload images for button rollovers etc.
>
> I am currently attempting to do this by creating an array of javascript
> Image Objects, setting the src on them then adding them to an array.
After
> creating the whole array of Image objects continue to load my DynAPI page.
>
> I create some buttons on my page which are just DynLayers with a
background
> image set using the setBgImage function. I then set the bgImage when a
> mouse over occurs and also for a mouse down. There is a delay when I do
> this during which the layer seems to be blank before the correct image is
> loaded into the layer.
>
> Are my images being preloaded at all???
>
> Has anyone got any better ideas for rollovers etc etc
>
> Thanks in advance
>
> Chris
>
> _______________________________________________
> Dynapi-Help mailing list
> [EMAIL PROTECTED]
> http://lists.sourceforge.net/lists/listinfo/dynapi-help
---
Outgoing mail is certified Virus Free by AVG Free Edition
Download at: http://www.grisoft.com/html/us_index.cfm
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.237 / Virus Database: 115 - Release Date: 3/7/01
_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help