# Move code from Mc to Main

**URL:** <https://forum.kirupa.com/t/move-code-from-mc-to-main/205036>\
**Category:** flash\
**Created:** [October 25, 2006, 4:14pm UTC](https://forum.kirupa.com/t/move-code-from-mc-to-main/205036 "2006-10-25T16:14:37Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![modelreject](https://avatars.discourse-cdn.com/v4/letter/m/59ef9b/32.png) [@modelreject](https://forum.kirupa.com/u/modelreject)\
**Post date:** [October 25, 2006, 4:14pm UTC](https://forum.kirupa.com/t/move-code-from-mc-to-main/205036/1 "2006-10-25T16:14:37Z")

</div>

Hello,  
Was wondering if anyone could be so kind as to help me here.  
I have a scrolling movie clip with code on it.  
I want to move all my code to the main timeline.  
Could you please check out the fla and see if it can be done.  
I’ve tried everything I can.

[http://www.buildrebuild.com/scroll.zip](http://www.buildrebuild.com/scroll.zip)

Thanks for your help.

Cb

---

<div class="post-metadata">

**Author:** ![hetlicht](https://avatars.discourse-cdn.com/v4/letter/h/96bed5/32.png) [@hetlicht](https://forum.kirupa.com/u/hetlicht)\
**Post date:** [October 25, 2006, 6:32pm UTC](https://forum.kirupa.com/t/move-code-from-mc-to-main/205036/2 "2006-10-25T18:32:19Z")

</div>

hi,

Uhm I’m a little lost , I downloaded your file, but all your code is on the maintimeline.?

Do you mean the seperate .AS files? Is this what you want on the main timeline?

Regards,

Hetlicht

---

<div class="post-metadata">

**Author:** ![modelreject](https://avatars.discourse-cdn.com/v4/letter/m/59ef9b/32.png) [@modelreject](https://forum.kirupa.com/u/modelreject)\
**Post date:** [October 25, 2006, 7:22pm UTC](https://forum.kirupa.com/t/move-code-from-mc-to-main/205036/3 "2006-10-25T19:22:14Z")

</div>

Sorry.  
As you can see the AS(onClipEvent etc.) is on the Movie Clip(which is on the main timeline.  
I should have said it in the previous post but I want to shift that code to a “Layer” on the main timeline.

Thx
