# Auto Execution of actionscript code on different frames

**URL:** <https://forum.kirupa.com/t/auto-execution-of-actionscript-code-on-different-frames/329620>\
**Category:** flash\
**Created:** [September 23, 2012, 3:32pm UTC](https://forum.kirupa.com/t/auto-execution-of-actionscript-code-on-different-frames/329620 "2012-09-23T15:32:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajoo](https://avatars.discourse-cdn.com/v4/letter/a/ebca7d/32.png) [@ajoo](https://forum.kirupa.com/u/ajoo)\
**Post date:** [September 23, 2012, 3:32pm UTC](https://forum.kirupa.com/t/auto-execution-of-actionscript-code-on-different-frames/329620/1 "2012-09-23T15:32:43Z")

</div>

[COLOR=#000000][FONT=verdana]Hi guys ![/FONT][/COLOR]

[COLOR=#000000][FONT=verdana]I have a very simple question, I have a small flash file which has on the 1st 10 frames, tweened a simple Welcome Message. On the 11th frame i have a piece of actionscript code. All I want is that after the tween, the code in the 11th frame be executed. [/FONT][/COLOR]

[COLOR=#000000][FONT=verdana]To extend this I can put 3 small actionscript coded animations on frames 12, and 13 as well. Now I would want after the welcome the 11th frame code executed, then the 12th frame code and finally the 13th frame code. How can this be achieved?[/FONT][/COLOR]

[COLOR=#000000][FONT=verdana]I am sure there is an easy solution to this which i don’t know about. Thanks for all your help.[/FONT][/COLOR]

[COLOR=#000000][FONT=verdana]Ajoo.[/FONT][/COLOR]
