Adding sound problem

Hi, I would like to ask if it’s possible to add sound through coding in Flash CS3 ?
I only learnt how to add sound in layers but I need to add my sound through coding.

Is it possible ? If so, I need a simple sample for adding sound in AS3.

Thanks.

EDIT: Oh never mind, I found the solution. Thanks