From: David C. <dle...@ya...> - 2001-02-20 05:55:29
|
Hey Robert, I stripped the page down to just the bare code creating the buttonimage and got the same results. I also checked the mouse events example and it was normal. code: <script language="Javascript" src="../src/dynapi.js"></script> <script language="Javascript"> DynAPI.setLibraryPath('../src/lib/') DynAPI.include('dynapi.api.*'); DynAPI.include('dynapi.gui.dynimage'); DynAPI.include('dynapi.gui.buttonimage'); DynAPI.onLoad=function() { p1uimg = DynImage.getImage('butovu.gif',100,35); p1oimg = DynImage.getImage('butovh.gif'); p1dimg = DynImage.getImage('butovs.gif'); p1rimg = DynImage.getImage('butovh2.gif'); buti01 = new ButtonImage(); buti01.moveTo(40,100); DynAPI.document.addChild(buti01); DynImage.onLoaderDone=function() { buti01.setImages(p1uimg,p1oimg,p1dimg,p1rimg); } }; </script> see this here: http://www.merlinsworld.net/dynapi_ri_dcexamples/image_button2.html I will look for problems in buttonimage.js tomorrow. If you see something wrong in how I am creating the button, let me know please? Cheers, Dave C. "You Changed What?!?" __________________________________________________ Do You Yahoo!? Get personalized email addresses from Yahoo! Mail - only $35 a year! http://personal.mail.yahoo.com/ |