# Need help inserting actionscript in a .swf file

**URL:** <https://forum.kirupa.com/t/need-help-inserting-actionscript-in-a-swf-file/18848>\
**Category:** Uncategorized\
**Created:** [April 21, 2003, 10:02pm UTC](https://forum.kirupa.com/t/need-help-inserting-actionscript-in-a-swf-file/18848 "2003-04-21T22:02:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![coruscatus](https://avatars.discourse-cdn.com/v4/letter/c/ea666f/32.png) [@coruscatus](https://forum.kirupa.com/u/coruscatus)\
**Post date:** [April 21, 2003, 10:02pm UTC](https://forum.kirupa.com/t/need-help-inserting-actionscript-in-a-swf-file/18848/1 "2003-04-21T22:02:20Z")

</div>

i used a third-party software (Screenflash) to create a .swf file that’s basically just a movie clip showing recorded screen captures. it doesn’t generate any source .fla file.

i’ve successfully created a “loader” program using flash mx that loads this .swf file with the loadMovie command.

my problem is that i need to insert a stop(); action at the start of the .swf file so that it won’t play outside of my “loader” program.

i’ve tried creating a .fla file that contains only the .swf movieclip (created by Screenflash) so i can add my actionscript on another layer; but upon testing or exporting, the .swf movieclip displays at a size/proportion much bigger than the original.

any advise will be greatly appreciated!
