Movieless Flash object

Hi guys, this post is similar to one I just posted but it’s less intimidating, so I am rephrasing what I want.

I just want to create a swf file using Flash CS3, no movie at all, just actionscript to handle some user events. No layers, sprites, buttons, nothing, the object should be invisible and contain just the actionscript code.

What baby steps do I need to take?

  • Create new File
  • Press F9
  • Paste code
  • Save and Export to swf.

Is that it? Or do I need to switch some settings and do some magic?

I am no flash guru, just running CS3 for the first time and googling like crazy.

You guys are my only help.