Up the Root Goto Function
Think of the gotoFunction as the on(release) function of a button. Whatever actions you put here will be executed when you click on a sub-button. It passes the information contained in the "location" attribute from the xml file.
is a placeholder for the location information, so if you use getURL
or loadMovie, use "link" as
the target url. The gotoFunction must be located on the first frame
of the root timeline.