This blog post is long overdue. I am constantly getting emails from folks wondering if they can use the code from my tutorials at gotoAndLearn as well as from the examples that I sometimes post here in their own commercial projects. The answer is absolutely yes. You can use my code for anything you want and you don’t even need to provide attribution. Basically you can take my code and tell your boss that you wrote it if you want. Now having said that, there are some things you should keep in mind:
Applies only to my code
Many times in my tutorials I include code from outside sources like
Papervision3D and
Tweener. You need to be sure that you are adhering to the licenses for these outside code sources when using them for your own work. Luckily most everything I use also has similar open licensing.
Doesn’t apply to images and artwork
In a lot of tutorials I simply pull images from Flickr or Google images for the examples. You do not have any rights to use these images in commercial projects. Now if it is some of my own artwork or one of my personal photos that I use in the tutorial then you can use that type of stuff anyway you want.
My code is not always good
A lot of my code is what I like to call demo quality. Remember that I’m often trying to teach a complex topic in under thirty minutes so I don’t exactly follow a lot of best practices when it comes to ActionScript development. To be honest though, even when I did production projects, my code would be short and nasty. So to sum this up, look for ways to improve my code if it will be used on a real project.
Don’t be a scumbag
On more than one occasion I have seen my tutorial files being sold on sites like
FlashDen and
iStockPhoto. The disgusting part is that these douche bags don’t even take the time to modify the artwork or images at all. So they’re actually selling things that they don’t have the rights for. Even worse are the assheads who sell my tutorial video files on CD-ROM. I hope we get to meet in person someday so I can break your arm.
So feel free to use my code for whatever you like. What would be nice is that when your career takes off you come back and share some of your code with the community. This openness is what makes our community the best in the world.
Lee