Tutorial Actionscript Copyright Permissions

Hello!

Just a query into the use of the code in the MX tutorial, namely the snow flake effects. Is it OK to use the code for a university assignment which is completely for non-commercial use?

Regards,
Nicole