hi I am creating a shopping cart feature within flash using as2 using this tut
Learn Actionscript 2.0 - Class Implementation
I have created the as file and there are no errors but when it can to adding the first part of code to go into the actual flash file I get this error
the class or the interface 'com.ahfx.Product could not be loaded (source) var myProduct = new Product();
the code added on the first frame of the flash file
import com.ahfx.Product;
var myProduct = new Product();
myProduct.setQuantity(3);
myProduct.setPrice(2.99);
myProduct.setDesc("Teddy Bear");
trace(myProduct.getDesc());
trace(myProduct.getPrice());
trace(myProduct.getQuantity());
trace(myProduct.getTotal());
has anyone got any ideas please