I’m reading Colin Moocks Actionscript for flash MX book and upon reading functions he instructs to create a symbol named ballSymbol, than put an instance on the stage (frame 1 maintimeline) and call it ball. Than on frame 1 on the main timeline put the following actionscript:
You don’t see anything because that code (or at least the part you posted) is only executed once. What you see is the ball after it has moved 10px to the right and 10px to the bottom. To keep it executing, use for example an onEnterFrame handler: