# Applying one AS script to more than one movieClip?

**URL:** <https://forum.kirupa.com/t/applying-one-as-script-to-more-than-one-movieclip/148947>\
**Category:** flash\
**Created:** [May 24, 2005, 9:53pm UTC](https://forum.kirupa.com/t/applying-one-as-script-to-more-than-one-movieclip/148947 "2005-05-24T21:53:18Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![monkey\_man](https://avatars.discourse-cdn.com/v4/letter/m/3ec8ea/32.png) [@monkey\_man](https://forum.kirupa.com/u/monkey_man)\
**Post date:** [May 24, 2005, 9:53pm UTC](https://forum.kirupa.com/t/applying-one-as-script-to-more-than-one-movieclip/148947/1 "2005-05-24T21:53:18Z")

</div>

Yo,

I’m a very competent PHP/AS coder, but I can’t seem to find a way to solve this problem. Can it be done? Possible ways I’ve theorised (but not been able to put into practice yet):

1. Loading AS script from external text file, much like loading CSS, or JS in HTML.

2. Writing AS to a movieclip as it is created on the fly.

If anyone could help, I’d be much obliged!

Cheers,

MM
