Created
July 10, 2009 14:27
-
-
Save joecorcoran/144552 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
stop(); | |
// this sets the component's pageName param to | |
// something we'll define in the next step | |
cmp_omn.pageName = _root.clickedItem; | |
// check it's working | |
trace(cmp_omn.pageName); | |
// this waits for 0.3 seconds and then calls the | |
// function below, which sends us back to frame 1 | |
shortWait = setInterval(GoAway, 300); | |
function GoAway() { | |
clearInterval(shortWait); | |
gotoAndStop(1); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment