You are not logged in.

Dear visitor, welcome to krpano.com Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

VN2009

Professional

  • "VN2009" started this thread

Posts: 1,336

Location: Duluth MN

  • Send private message

1

Wednesday, December 22nd 2010, 5:41pm

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)');

This post has been edited 1 times, last edit by "VN2009" (Dec 22nd 2010, 5:55pm)


2

Thursday, December 23rd 2010, 11:32am

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