created actionscript file to separate code from .fla