Compiling AS3 code to an an exe in Flash

Hi all,

I appologize in advance if this is an easy question, but I can’t find the information I need. I’m a new Actionscript user.

I’m writing an AS3 game in Flash Developer and I have Flash CS4 as well. I like the editor in Flash Developer better, so that’s why I’m going that route.
Anyway, the program compiles into a SWF fine in Flash Develop and I’m not using CS4 at all. However I will need to eventually be able to make a PC executable and a Mac executable at a future date.

Can someone tell me what the process would be? Any advice if any of you have done a similar thing?

One thing I tried last night was creating a new project in Flash and linking my main class to that project. It gave me an error about using:

import mx.controls.Button;

I tried changing it to

import fl.controls.Button;

but that had the same problem.

Am I on the right track here?
Any help is appreciated.