PDA

View Full Version : element positon in animation


Peregrin
04-20-2010, 12:26 PM
have following problem: jsfl doesn't see an element position (x, y, rotation, scale, skew и т.д.) on not keyframe, i.e. i have animation of circle from 1 to 10 frame. The "x" propertie of circle are changing from 0 to 100. The task is to define position of element during the WHOLE animation, not only in keyframes without using selecting methods.

Examlpe:
var doc = fl.getDocumentDOM();
var layer = doc.timelines[0].layers[0];
for each (frame in layer.frames)
{
fl.trace(frame.elements[0].x);
}
geting in output "0,0,0,0,0,0,0,0,0,100"

Tried to operate with motionTween, classicTween and bone animation, but the result is same