Hi Gang,

I'm having a slightly weird problem and thought maybe someone on the list
might have an idea how to fix it.  I'm working on an eLearning application
where a user clicks on areas on a base image.  There are a certain amount of
correct areas which reveal boxes and feedback.  For each incorrect click on
the base image, I show a little X mark graphic.  Sometimes, only in NS6 on
Win2k, the image doesn't show up.  The placeholder for the image shows up
alright but the image never appears.  I tried using the setHTML property
before the layer is added to the base image and I also tried setting the
HTML after the layer is added to the base image.  Here's a little snippet of
my code.

function showWaldoClick (x,y) {
    var i = this.clickArray.length
    this.clickArray[i] = new DynLayer(null,x,y,20,20);
    this.base.addChild(this.clickArray[i]);
    this.clickArray[i].setHTML('<img src="'+waldoXMark.src+'" width="20"
height="20">');
}

Has anyone encountered a similar problem, and/or have any idea how to fix
it?  Maybe the problem is with the caching of the image?

Thanks for any advice.  Great help forum here!

- Abre

_______________________________________________
Dynapi-Help mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/dynapi-help

Reply via email to