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








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.
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.
Hi Lee,
This example gives good inspiration to practise with! Very good!
VERY clear!!! Good explanation….Thanks Lee…….
I can’t wait for for next tutorial
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
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.
$message = “Name: ” . $_POST['theName'];
$message .= “\nEmail: ” . $_POST['theEmail'];
$message .= “\n\nMessage: ” . $_POST['theMessage'];
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?
Can you please add this flv to your downloads section? Thanks!
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?
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