How can I use a variable for an action? If I set variable "myAction" =
gotoAndStop(2), how can I call on it to perform the action? Here's an
example of what I'm trying to do:

VARIABLE VALUE
myAction1 _root.gotoAndStop(2);
myAction2 getURL("http://www.mydomain.com","_blank");

So, if I have a movieClip button with the actions set by the "onRelease"
action, how can I make it perform the action? The following is an example
of what I've been trying but it doesn't work:

myButtonMC1.onRelease = funtion(){
this[myAction1];
}
myButtonMC2.onRelease = funtion(){
this[myAction2];
}

Thanks for any help,

Scott