Setting variable

Hi I would like to know how to set variable in flash 2004. I created an interface and the system is suppose to tell it to run.