Author Topic: animation scale, Q:  (Read 142 times)

jedione

  • Hero Member
  • *****
  • Posts: 565
  • punktoe
    • View Profile
animation scale, Q:
« on: October 20, 2018, 07:18:34 AM »
trying to solve an isu i have with animate ' scale"

here is the simple code.
Code: [Select]
local scale = fe.add_artwork( "snap", flx*0.580, fly*0.360, flw*0.200, flh*0.200 );
local scale_scale_cfg = {
when =Transition.ToNewSelection,
property = "scale",
start = 0.8,
end = 1.2,
time = 0700,
tween = Tween.Linear,
//delay = 3000,
}
animation.add( PropertyAnimation(scale, scale_scale_cfg ) );

it works fine, with out the delay, as soon as you add the delay
what happens is the snap sits their visable for the delay time
then does the scale,

thanks




help a friend....