{
mScrollAnimation.Clear();
}
- sourceActor.SetPosition( x, y );
+ sourceActor.SetProperty( Actor::Property::POSITION, Vector2( x, y ));
return;
}
float toY = y + scrollAmount;
mScrollTo = toY;
// Set animation attribute
- sourceActor.SetPosition( x, y );
+ sourceActor.SetProperty( Actor::Property::POSITION, Vector2( x, y ));
mScrollAnimation.AnimateTo( Property(sourceActor, Actor::Property::POSITION_Y), mScrollTo, AlphaFunction::EASE_OUT_SINE );
mScrollAnimation.Play();
}