# Trying to trace Mc Identifier names on timeline keyframes

**URL:** <https://forum.kirupa.com/t/trying-to-trace-mc-identifier-names-on-timeline-keyframes/315461>\
**Category:** Uncategorized\
**Created:** [October 26, 2010, 9:09pm UTC](https://forum.kirupa.com/t/trying-to-trace-mc-identifier-names-on-timeline-keyframes/315461 "2010-10-26T21:09:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![lnsiu](https://avatars.discourse-cdn.com/v4/letter/l/9fc29f/32.png) [@lnsiu](https://forum.kirupa.com/u/lnsiu)\
**Post date:** [October 26, 2010, 9:09pm UTC](https://forum.kirupa.com/t/trying-to-trace-mc-identifier-names-on-timeline-keyframes/315461/1 "2010-10-26T21:09:02Z")

</div>

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)_

```auto
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());

		}
	}
	
}

```
