syntax for donecall

  • 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:

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


    instead of:

    Code
    tween(var,destvalue,donecall);

    Hope this can help...

    SAlut.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!