11/02/19 16:51:34 TR/rwGBg
TextLayer.opacity = 0;
startTime = System.getTickCount();
System.addContinuousHandler(handler);
- 以下handler内
dist = (tickCount - startTime) * speed \ 1000;
if (TextLayer.top > moveH) {
TextLayer.top = it - dist;
}
※moveH=最終的な到着点の座標
レイヤを下から上へ移動させる時、大体こんな感じで記述しています
で、opacityをどこで加算していけば、moveタグみたいに滑らかに移動してくれるのかと・・・