Cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Unable to set "to" and "from" on arc animation

I am trying to set the "to" and "from" attributes of an animation that modifies the sweep-angle of an arc.  i simply have

 

AnimationObject.to = 5;
AnimationObject.from = 180;

and this doesn't seem to be working.  According to logs, the to and from attributes ARE being updated, but its not having any effect.  I should also note that this IS working in the simulator.  Has anyone run into this problem before?

Best Answer
0 Votes
1 REPLY 1

Try setting startAngle and sweepAngle instead.  startAngle is defined as having 0 pointing straight up and sweepAngle goes from 0 to 360.

HTH.
John

Best Answer
0 Votes