# Migrating from Procedural way of scripting to OOP style

**URL:** <https://forum.kirupa.com/t/migrating-from-procedural-way-of-scripting-to-oop-style/261304>\
**Category:** flash\
**Created:** [May 26, 2008, 4:06am UTC](https://forum.kirupa.com/t/migrating-from-procedural-way-of-scripting-to-oop-style/261304 "2008-05-26T04:06:47Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rin](https://avatars.discourse-cdn.com/v4/letter/r/b19c9b/32.png) [@Rin](https://forum.kirupa.com/u/Rin)\
**Post date:** [May 26, 2008, 4:06am UTC](https://forum.kirupa.com/t/migrating-from-procedural-way-of-scripting-to-oop-style/261304/1 "2008-05-26T04:06:47Z")

</div>

Hi,

I’m having some trouble migrating from procedural way of scripting to OOP. (Am comfortable with AS2 and now trying to migrate to AS3.0). Did some tutorials online but I keep finding myself stuck with this question:

“How do I build a basic website using classes?”

Is there any resources or reading materials which can help me to learn how to ‘plan and break down’ a website into small parts/classes?

---

<div class="post-metadata">

**Author:** ![hasch2o](https://avatars.discourse-cdn.com/v4/letter/h/ba8739/32.png) [@hasch2o](https://forum.kirupa.com/u/hasch2o)\
**Post date:** [May 26, 2008, 6:12am UTC](https://forum.kirupa.com/t/migrating-from-procedural-way-of-scripting-to-oop-style/261304/2 "2008-05-26T06:12:47Z")

</div>

Hey Rin

I found following site in the as3 resources thread (sticky at the top of this forum)  
[http://www.onebyonedesign.com/tutorials/as3site/tutorial/](http://www.onebyonedesign.com/tutorials/as3site/tutorial/)

Maybe it helps you

Carlo

---

<div class="post-metadata">

**Author:** ![Rin](https://avatars.discourse-cdn.com/v4/letter/r/b19c9b/32.png) [@Rin](https://forum.kirupa.com/u/Rin)\
**Post date:** [May 26, 2008, 7:08am UTC](https://forum.kirupa.com/t/migrating-from-procedural-way-of-scripting-to-oop-style/261304/3 "2008-05-26T07:08:30Z")

</div>

[quote=hasch2o;2331192]Hey Rin

I found following site in the as3 resources thread (sticky at the top of this forum)  
[http://www.onebyonedesign.com/tutorials/as3site/tutorial/](http://www.onebyonedesign.com/tutorials/as3site/tutorial/)

Maybe it helps you

Carlo[/quote]

Thanks! This is great help to me 👼  
How can I missed out on this…

---

<div class="post-metadata">

**Author:** ![sparkdemon](https://avatars.discourse-cdn.com/v4/letter/s/958977/32.png) [@sparkdemon](https://forum.kirupa.com/u/sparkdemon)\
**Post date:** [May 26, 2008, 7:42am UTC](https://forum.kirupa.com/t/migrating-from-procedural-way-of-scripting-to-oop-style/261304/4 "2008-05-26T07:42:32Z")

</div>

it would be a good choice to try out some oops in actionscript 2.0 too before completely coming over to actionscript 3.0 🙂

---

<div class="post-metadata">

**Author:** ![Felixz](https://avatars.discourse-cdn.com/v4/letter/f/ecb155/32.png) [@Felixz](https://forum.kirupa.com/u/Felixz)\
**Post date:** [May 26, 2008, 11:09am UTC](https://forum.kirupa.com/t/migrating-from-procedural-way-of-scripting-to-oop-style/261304/5 "2008-05-26T11:09:44Z")

</div>

In my opinion AS2 should be avoided if somebody wants to learn AS3

---

<div class="post-metadata">

**Author:** ![Rin](https://avatars.discourse-cdn.com/v4/letter/r/b19c9b/32.png) [@Rin](https://forum.kirupa.com/u/Rin)\
**Post date:** [May 27, 2008, 2:17am UTC](https://forum.kirupa.com/t/migrating-from-procedural-way-of-scripting-to-oop-style/261304/6 "2008-05-27T02:17:00Z")

</div>

> [@sparkdemon;2331213](#):
>
> it would be a good choice to try out some oops in actionscript 2.0 too before completely coming over to actionscript 3.0 🙂

Yeah that’s true. And I do have a few ‘components’ which is written in AS2 which I will like to convert to classes.

---

<div class="post-metadata">

**Author:** ![Rin](https://avatars.discourse-cdn.com/v4/letter/r/b19c9b/32.png) [@Rin](https://forum.kirupa.com/u/Rin)\
**Post date:** [May 27, 2008, 2:22am UTC](https://forum.kirupa.com/t/migrating-from-procedural-way-of-scripting-to-oop-style/261304/7 "2008-05-27T02:22:40Z")

</div>

> [@Felixz;2331247](#):
>
> In my opinion AS2 should be avoided if somebody wants to learn AS3

why?

---

<div class="post-metadata">

**Author:** ![dzhedzho](https://avatars.discourse-cdn.com/v4/letter/d/ce7236/32.png) [@dzhedzho](https://forum.kirupa.com/u/dzhedzho)\
**Post date:** [May 27, 2008, 6:00am UTC](https://forum.kirupa.com/t/migrating-from-procedural-way-of-scripting-to-oop-style/261304/8 "2008-05-27T06:00:19Z")

</div>

> [@Rin;2331483](#):
>
> why?

Beacuse you’d get used to AS2.0 practices and have problems with AS3. Something like having an accent when speaking foreign language. Don’t waste your time with AS2, its thing of the past…
