Hi!
I’m trying to trace Mc Identifier names on timeline keyframes. But it does not work for keyed frames…
-I have an ordinary keyframe animation on the root timeline.
-each keyframe is a movieclip (exported for actionscript and a class created in the library/properies)
-I try to trace every frame, but for some reason my script ignores the ones with a keyframe in them and reads the emty(grey) timline areas.
since the whole deal for me is to create a very simple timeline exporter, I’m out of ideas… anyone got any?
Any ideas how to get the names for frames with a key in it?
(I pasted this clip on first frame in timeline)
import flash.events.Event;
import flash.display.MovieClip;
this.addEventListener(Event.ENTER_FRAME ,getStageChildren);
function getStageChildren(e:Event)
{
for(var i=0; i < this.numChildren; i++)
{
if(this.getChildAt(i) is MovieClip)
{
var mc = this.getChildAt(i);
trace("this is frame: " + currentFrame + " and mc name: " + getQualifiedClassName(mc).toString());
}
}
}