access function
how can access function (function myfunction(){...}) have in 'actions' on stage, click event actions of 1 of buttons? thank you!
you can have access functions using variables below :
normal way : ( have no access through click action )
function myfunction (){
// codes in here
}
the way call :
myfunction();
special way : ( have access every )
x = {
myfunction:function(){
// codes here
} // myfunction
} // x our variable name can anything
the way call :
x.myfunction();
and can make functions 1 variable as want below :
x = {
myfunctiona:function(){
// codes here
},
myfunctionb:function(){
// codes here
},
myfunctionc:function(){
// codes here
}
} // x our variable name can anything
the way call :
x.myfunctiona();
x.myfunctionb();
x.myfunctionc();
i hope can you
zaxist
More discussions in Edge Animate CC
adobe
Comments
Post a Comment