You are not logged in.

1

Wednesday, May 2nd 2012, 4:36pm

Individual Oninterrupt tween

I have this problem:
I use Lookto function (tween 4 seconds).
At the same time some plugins appears with alpha tween.
Before Lookto i put "oninterrupt(break);" but...
In this way if the user click on the pano before Lookto function end, the plugins interrupt the alpha tween also!

I think the problem is that Oninterrupt is global, i need individual Oninterrupt like:
tween(variable,destinationvalue,time*,tweentype*,donecall*,updatecall*,oninterrupt*)
that works only for one tween not for all tween at the same time.

There is a workaround for this?

Thanks