Introduction to OOP Tutorial

I just uploaded a new tutorial at http://www.gotoandlearn.com called “Introduction to OOP” which shows the basics of how to create Actionscript 2 classes and then how to attach them to MovieClips. This tutorial builds on top of the previous tutorial which was about creating animated MovieClip buttons.

Lee


Commentary

  1. Karel says:

    Very cool once again! However, it looks strange in the class to embed code like gotoAndPlay(2) etc. Before a user could use this class, he or she would have to know to implement frames at key 2 and 7.

  2. Administrator says:

    Hi Karel,

    Yes this is far from the “best” implementation of a class but it is a good introduction to taking code that exists already on the timeline and putting it inside of a class for easy reuse.

  3. Karel says:

    Hi Lee,

    This example gives good inspiration to practise with! Very good!

  4. Phil says:

    VERY clear!!! Good explanation….Thanks Lee…….
    I can’t wait for for next tutorial

  5. Hey Lee,
    Great tutorial! I’m trying to implement it on my site and I’m at the point where I want to set up a function that would set the text but I can’t seem to get it going. Can you create that function for this tutorial?

    Thanks,
    Rolando

  6. If you’re getting a blank email, just copy and paste this script into the send.php file. I simpply added the $_POST method to the script. Works like a charm. Thanx again Lee.

  7. $message = “Name: ” . $_POST['theName'];
    $message .= “\nEmail: ” . $_POST['theEmail'];
    $message .= “\n\nMessage: ” . $_POST['theMessage'];

  8. casey says:

    It appears as though this tutorial is no longer in the list of clips at gotoandlearn.com. Is there any way to gain access to this tutorial still?

  9. Mitch Wilson says:

    Can you please add this flv to your downloads section? Thanks!

  10. tom says:

    Hello, i have just come across your tutorials and i am finding them to be very helpful, however the tutorial ‘introduction to oop’ doesnt seem to be on the gotoAndlearn list, any idea why?

  11. Kevin Gecsi says:

    A second request to add the ‘Introduction to OOP’ FLV to the downloads in GotoAndLearn. Watching you walk through is so helpful to understanding the basics and give me a huge springboard to teach myself.

    Thank you

Leave a Comment