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.
I must not have because i have no idea what that means.
Is the code you gave me AS2 or 3? I can switch to either. The only code in the whole site is A) loading of external swf's, and B) This back button to take me back to main.swf.
Sorry I'm lame. I'm on lynda.com trying to learn...it's quite random teaching's though.
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.*;