Sie sind nicht angemeldet.

1

Montag, 18. Januar 2010, 00:53

syntax for donecall

Hi, can someone let me know the syntax for using tween donecall


I want to do something like this

tween(y,get(minimizedY),action(flybackTidyUp));


Thanks in advance for any help

Tudor

2

Montag, 18. Januar 2010, 22:18

Hi wontfail99,

Here the syntax for tween action (more info here ):
tween(var,destvalue,time*,tweentype*,donecall*)
I suppose you have some problem because you are not giving the value of some of the optional arguments before the donecall argument...
So, if you only needs to give the var, destvalue and donecall arguments you must give an empty value to the optional arguments (it will be transformed to the default value)... like this:

Quellcode

1
tween(var,destvalue,,,donecall); 

instead of:

Quellcode

1
tween(var,destvalue,donecall);


Hope this can help...

SAlut.

3

Dienstag, 19. Januar 2010, 18:23

Hi michel

Thanks for that -all working well now

T *smile*