# AS 3+AS 2 in the same file

**URL:** <https://forum.kirupa.com/t/as-3-as-2-in-the-same-file/233091>\
**Category:** flash\
**Created:** [July 20, 2007, 1:04am UTC](https://forum.kirupa.com/t/as-3-as-2-in-the-same-file/233091 "2007-07-20T01:04:20Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![OMG](https://avatars.discourse-cdn.com/v4/letter/o/9dc877/32.png) [@OMG](https://forum.kirupa.com/u/OMG)\
**Post date:** [July 20, 2007, 1:04am UTC](https://forum.kirupa.com/t/as-3-as-2-in-the-same-file/233091/1 "2007-07-20T01:04:20Z")

</div>

first of all, I don’t have flash 9(I think it’s CS3, right?) yet, so my questions might be a little bit dumb:

Is AS 3 fully OOP? If it is, does this mean that in an AS3 flash file, I can’t use an AS 2 style of code? For example, can I use : \_root.mc1.\_x+=10 directly in a flash file(that uses AS 3) in one frame without creating a class for it? If I can’t, will it cause an error, or will the program ignore it?

thanks
