Disclosed is a compound isolated from Antrodia camphorata, represented by formula I: wherein R1 is a hydrogen atom or an acetyl group and a method of inhibiting cancer cell growth by using the compound, the cancer is selected from the group consisting of lung cancer, colon cancer, prostate cancer, liver cancer and breast cancer.