More Flash Help
More Flash Help
Out of context: Reply #7
- Started
- Last post
- 11 Responses
- jkosoy0
/blankclip? / works in AS? weird.
assuming your buttons are named "ringo","john","paul" and "george".
var mc_name = this._name;
if(mc_name == "ringo")
{
/blankclip.gotoAndPlay(1);
}
else if (mc_name == "john")
{
/blankclip.gotoAndPlay(1000);
}
else if(mc_name == "george")
{
// you get the idea.
}this is hardly modular programming, but it'll do what you want it to. :)