Using class

i m pushpendra Gautam
can u plz help me?
my problem is
how to use class in flash8?

I am facing the problem to genrating menu through the XML. Basically i want to create a menu which is genrating through xml and i add more menu items with links so it’s automatically appear in swf file without anychages in fla file.