This could certainly be written as a utility method to work with Actuate, something like:
function from (target:Dynamic, duration:Float, properties:Dynamic) {
var targetValues:Dynamic = {};
for (field in Reflect.fields (properties)) {
Reflect.setField (targetValues, field, Reflect.getProperty (target, field));
}
Actuate.stop (target);
Actuate.apply (target, properties);
return Actuate.tween (target, duration, targetProperties);
}
I would be open to a contribution to Actuate, perhaps a tweenFrom
method? However, it might not be necessary