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)
------------------------------------------------------- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt _______________________________________________ Dynapi-Help mailing list Dynapi-Help@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dynapi-help