# MovieClip.addFrameScript problem

**URL:** <https://forum.kirupa.com/t/movieclip-addframescript-problem/307691>\
**Category:** flash\
**Created:** [April 8, 2010, 1:34pm UTC](https://forum.kirupa.com/t/movieclip-addframescript-problem/307691 "2010-04-08T13:34:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![hemsingh](https://avatars.discourse-cdn.com/v4/letter/h/ec9cab/32.png) [@hemsingh](https://forum.kirupa.com/u/hemsingh)\
**Post date:** [April 8, 2010, 1:34pm UTC](https://forum.kirupa.com/t/movieclip-addframescript-problem/307691/1 "2010-04-08T13:34:57Z")

</div>

Hi,  
Can anyone tell me plz if how to use \*\*addFrameScript() method for child movie clip, the path is like: Parent movieclip on frame2 of main timeline -\> its 1st child movieclip with two instance names on frames 6 & 7. I have used dynamic video MovieClip here and I am using it on two frames for 2 links with 2 instace names. So can i give \*\*\*\*addFrameScript from document class or AS file for the second child level. Any suggestion will be highly appreciated.

one link is working on first click.

I am using external as or Document class for the first time.

My small project is incomplete: [http://www.cameracraft.in/avi](http://www.cameracraft.in/avi)

\*\ ***Thanks in advance.**
