call functions within duty - peep actionscript 2.0
i'm perplexing duty after i bucket xml actionscript, i'm only wondering i function. example:
//function declarations
function parentfunction()
{
duty callme()
{
textfield.text = "lawl";
}
}
now, how i "callme()" function opposite biased code, an onrelease function?
on(release)
{
callme(); //doesn't work
parentfunction().callme(); //doesn't work
parentfunction.callme(); //doesn't work
}
actionscript 2.0 only wonky! any ideas?
Comments
Post a Comment