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/[email protected]/