First script

Hello. Trying my first script but I get the error:

Line 4: The class or interface ‘flash.utils.Timer’ could not be loaded.
var t:Timer = new Timer(10000,0);
With the following code:

import flash.utils.Timer;

var t:Timer = new Timer(10000,0);

My questions:

  1. Whats the diffrence with AS 2.0 and AS 3.0?
  2. When am I supposed to use “package” tags around my code?
  3. What is worng with my code? Do I need to add classpath or something?

edit: I´m using Macromedia Flash Professional 8.