Created
July 10, 2009 14:34
-
-
Save joecorcoran/144557 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
// declare your variable | |
var clickedItem:String; | |
// clickable_mc can obviously be the | |
// instance name of anything you want | |
// the user to click | |
clickable_mc.onRelease = function() { | |
// set the variable to anything - this | |
// will be grabbed in mc_omn and assigned | |
// to the pageName param of the ActionSource | |
// component - you can use this._name if your | |
// clips are named sensibly, or grab a | |
// string from an array | |
clickedItem = "info_I_want_to_send_to_Omniture"; | |
// send mc_omn to frame 2, calls ActionSource | |
mc_omn.gotoAndPlay(2); | |
// all your other onRelease functionality, | |
// getURLs or whatever goes here | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment