Sie sind nicht angemeldet.

1

Mittwoch, 22. Dezember 2010, 17:41

changing the 'effect' can it be done?

i have some buttons that have a red glow. onclick i would like the glow to change green. nothing works though. can it even be done? i have tried.

onclick="switch(effect, glow(0xfd0101,1,3,10), glow(0x01ff1f,1,3,10));"

tween(plugin[%4].effect, glow(0x01ff1f,1,3,10));
set(plugin[%4].effect, glow(0x01ff1f,1,3,10));
txtadd(plugin[%4].effect, glow(0x01ff1f,1,3,10));

tween(plugin[%4].effect, 'glow(0x01ff1f,1,3,10)');
set(plugin[%4].effect, 'glow(0x01ff1f,1,3,10)');
txtadd(plugin[%4].effect, 'glow(0x01ff1f,1,3,10)');

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »VN2009« (22. Dezember 2010, 17:55)


2

Donnerstag, 23. Dezember 2010, 11:32

Hi,

tweening is not possible (because the effect setting is a text and not an value),
but normal setting (via set/switch/textadd,...) should be no problem...

best regards,
Klaus