Help!

Hi, this is my first post at Kirupa! :slight_smile:
I am having some trouble with my actionscript.
Recently I have been trying to learn actionscript by copying other peoples codes, but today i thought i’d get nitty gritty. this is my problem:

When I copy code from the actionscript dictionary (like onLoad)
a message in red appears before the code saying “not set yet”

can anyone help me??

P.s I am a very un-experienced user with flash:(