# Dynamically Load External ActionScript File

**URL:** <https://forum.kirupa.com/t/dynamically-load-external-actionscript-file/281372>\
**Category:** flash\
**Created:** [February 8, 2009, 2:08pm UTC](https://forum.kirupa.com/t/dynamically-load-external-actionscript-file/281372 "2009-02-08T14:08:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cs3\_newbie](https://avatars.discourse-cdn.com/v4/letter/c/ce73a5/32.png) [@cs3\_newbie](https://forum.kirupa.com/u/cs3_newbie)\
**Post date:** [February 8, 2009, 2:08pm UTC](https://forum.kirupa.com/t/dynamically-load-external-actionscript-file/281372/1 "2009-02-08T14:08:08Z")

</div>

Hi guys,

I have a question for you. I am trying to dynamically import an external actionscript file into a flash movie. The actionscript file is created on the fly by a web server and I am trying to include this file in a flash movie when it is played.

I have used [include “script.as”], but this only works when the movie is compiled and not every time it is run.

Any ideas would be greatly appreciated.

Thanks

CS3 Newbie
