Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 04-20-2010, 12:26 PM   #1
Peregrin
Registered User
 
Join Date: Apr 2010
Location: Moscow, Russia
Posts: 15
Send a message via Skype™ to Peregrin
Unhappy element positon in animation

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
Peregrin is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump


All times are GMT. The time now is 03:42 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.