From: Michael K. <mic...@ch...> - 2005-01-17 01:07:12
|
Hi, i got some problems with the new ButtonImage form the latest snapshot. i've got the following code: var LoginButton=LoginCredentials.addChild(new Button(null,77,127,111,27,'ButtonImage')); LoginButton.setLocalStyleAttribute('imageOn',dynapi.functions.getImage('images/login_button.jpg',110,27)); LoginButton.setLocalStyleAttribute('imageOff',dynapi.functions.getImage('images/login_button.jpg',110,27)); I think i tried everything but the results are always the same. The DynAPI just creates a small button with the default blueish image (22x22 pixel). Found that in the sourcecode. Unfortunatly documentation is some kind limitted. Any wild guesses here? -- Michael Kunze http://www.smrealms.de How much Sex can you have? - I don't know. I havn't maxed out yet. (John Crichton in Farscape) |