Fscommand("quit") in AS3....pls help

elow kirupians!

i actually confused why fscommand(“quit”) in my project has an error “Call to possibly undefined method” where in fact i used this command in some of my projects and its working fine…or maybe its not acceptable if used in a package coz i just inserted it in my package…could someone tell what’s wrong with my project? or is their another way to close a projector by clicking a button using as3?

if(evt.target.name==‘item_’+9+’_mc’){

                fscommand("quit");

}

help plss…

well i tried to use it but i get this message

1013: The private attribute may be used only on class property definitions.

what should i do?

If you are not programming in an object-oriented fashion you should remove the “private” keyword in “private function clickHandler”

i also tried that way
please can you just upload an fla file including the button because i have almost read everything but it still doesnt work i feel like an idiot