View Full Version : How to recognise selected frames = keyframe
linakutak
03-11-2007, 01:38 AM
I have selected a few layers and a few key frames.. do you have any idea on how to recognise whether there is key frame among them...
krayzeebean
03-12-2007, 07:58 PM
You have to check the frames start frame and see if it matches the frame you're checking.
if (fl.getDocumentDOM().getTimeline().layers[0].frames[4].startFrame == 4){
fl.trace("this is a keyframe");
}else{
fl.trace("this is not a keyframe");
}
|
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.