# Is this AS3 or AS2 code?

**URL:** <https://forum.kirupa.com/t/is-this-as3-or-as2-code/263473>\
**Category:** flash\
**Created:** [June 16, 2008, 2:51pm UTC](https://forum.kirupa.com/t/is-this-as3-or-as2-code/263473 "2008-06-16T14:51:47Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![johnb816](https://avatars.discourse-cdn.com/v4/letter/j/db5fbb/32.png) [@johnb816](https://forum.kirupa.com/u/johnb816)\
**Post date:** [June 16, 2008, 2:51pm UTC](https://forum.kirupa.com/t/is-this-as3-or-as2-code/263473/1 "2008-06-16T14:51:47Z")

</div>

I’ve found an online tutorial that uses XML to load the content for a scrolling image gallery. I just don’t know if the tutorial is using ActionScript3.0 or 2.0. I don’t have the program at home so I can’t type it into a new file to figure this out. Can someone help me with this question?

Here is the url: ([http://www.oman3d.com/tutorials/flash/xmlimagegallery/3.php](http://www.oman3d.com/tutorials/flash/xmlimagegallery/3.php))

Also, can anyone tell me if they’ve had any luck finding AS3 tutorials for the same purpose–XML driven scrolling image galleries?

---

<div class="post-metadata">

**Author:** ![Iamthejuggler](https://avatars.discourse-cdn.com/v4/letter/i/ecc23a/32.png) [@Iamthejuggler](https://forum.kirupa.com/u/Iamthejuggler)\
**Post date:** [June 16, 2008, 2:53pm UTC](https://forum.kirupa.com/t/is-this-as3-or-as2-code/263473/2 "2008-06-16T14:53:43Z")

</div>

He’s using \_x and \_y so it’s as2. I haven’t any idea of as3 tutorials on it, but i haven’t looked so … maybe try the source/experiments section of the site? Also it probably wouldn’t be too hard to convert that as2 one to as3.

---

<div class="post-metadata">

**Author:** ![Digitalosophy](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/digitalosophy/32/1114_2.png) [@Digitalosophy](https://forum.kirupa.com/u/Digitalosophy)\
**Post date:** [June 16, 2008, 3:09pm UTC](https://forum.kirupa.com/t/is-this-as3-or-as2-code/263473/3 "2008-06-16T15:09:50Z")

</div>

Yea it’s for sure as 2, there’s a significant amount you would have to change to be as 3.
