i have some dynamic MC buttons which are working great but i want to basically inject what the onrelease code is for each button usng on onLoad command. Right now onLoad sends the button label and i would like to send the actionscript code as well.
On the MC that holds the button the onLoad passes
this.label = "button label";
correctly.
command = 'trace("osaka!");'
passes that info to
on(release) {
command
}
inside, but it treats it as text and not code. So how can i pass actionscript commands so they fill in the variables inside the button?
Thanks.