A class named Product with a constructor and a method
public class Product { var price:Number; public function Product ( ) { } public function doSomething ( ):void { } }