And said "the class or interface 'mouse event' could not be loaded" in reference to this line:
function goHome(evt:MouseEvent) : void
I tried switching my settings to AS3 in case that was problem (my main is in AS3). And got this error:
WARNING: The component 'MediaPlayback' requires ActionScript 2.0.
WARNING: Actions on button or MovieClip instances are not supported in ActionScript 3.0. All scripts on object instances will be ignored.
if you wish to use libraries, you must first import the files (at the top of the class/package/file). In this case, you wish to use the MouseEvent library, so you must import it. Ex. import flash.events.*;