Simple Problem With CS3/AS3

Hi everybody ,

Am very new to CS3/AS3 , i installed CS3 in my machine and using the samples which were in adobe site i tried to create a button ,i used the following lines of code …

import fl.controls.Button;

var myButton:Button = new Button();
addChild(myButton);i have dragged the instance of the button into library , but its not doing anything , do i need to configure or install anything ?? am very familiar with Flash 8 and AS2 , but this one is not working , what is the problem …please help out…

Thanks,
Saddu.