Oops... I typed this email too fast. However the bug is really still present 
as Doug Melvin reminded me.


----Original Message Follows----
From: Scott Andrew LePera <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [Dynapi-Dev] A bug in NS6.2, winNT
Date: Fri, 30 Nov 2001 14:06:18 -0800

Quang Nguyen wrote:

 > I am fairly sure there is a bug in the librairy of DYNAPI or NS6.2.
 > Using a large DHTML code(about 2000-3000 lines of code), I had added a
 > lot of pictures to 26 layers using DynImage using the following code:
 >
 > myLayer.addChild(new DynImage(DynImage.getImage('<img
 > src="somepict.gif">')));


I think your syntax is wrong.  The getImage() function is looking for a
URL to an image, not an HTML string:

myLayer.addChild(new DynImage(DynImage.getImage("somepict.gif")));

scottandrew

--
scott andrew lepera
[EMAIL PROTECTED]
web stuff: www.scottandrew.com
music stuff: www.walkingbirds.com


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/


_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp


_______________________________________________
Dynapi-Dev mailing list
[EMAIL PROTECTED]
http://www.mail-archive.com/dynapi-dev@lists.sourceforge.net/

Reply via email to