# Converting from AS2 to AS3

**URL:** <https://forum.kirupa.com/t/converting-from-as2-to-as3/627635>\
**Category:** flash\
**Created:** [April 22, 2015, 10:13am UTC](https://forum.kirupa.com/t/converting-from-as2-to-as3/627635 "2015-04-22T10:13:55Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![panoss](https://avatars.discourse-cdn.com/v4/letter/p/db5fbb/32.png) [@panoss](https://forum.kirupa.com/u/panoss)\
**Post date:** [April 22, 2015, 10:13am UTC](https://forum.kirupa.com/t/converting-from-as2-to-as3/627635/1 "2015-04-22T10:13:55Z")

</div>

I 'm trying to convert a project [7. Cool Icons Set - Blue Glossy][1] from AS2 to AS3 (with Flash CS3).  
It has some MovieClips.  
In the MovieClips it has code. For example in some frame of a MovieClip it has ‘stop();’

But in AS3 code is not allowed in the MovieClips.  
How can I do it in AS3? (I suppose I 'll have to make some class for the MovieClip…??)

Anyway, don’t you think this is a regression?  
It was so easy to put code in the frames of the movieClip and so handy, and they replaced it with something much harder?  
[1]: [http://ntt.cc/2010/03/25/20-useful-flash-menu-button-with-full-source-code.html](http://ntt.cc/2010/03/25/20-useful-flash-menu-button-with-full-source-code.html)
