# Function Invocation PART 1

**URL:** <https://forum.kirupa.com/t/function-invocation-part-1/54953>\
**Category:** flash\
**Created:** [June 19, 2004, 6:17am UTC](https://forum.kirupa.com/t/function-invocation-part-1/54953 "2004-06-19T06:17:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![julietling](https://avatars.discourse-cdn.com/v4/letter/j/3ab097/32.png) [@julietling](https://forum.kirupa.com/u/julietling)\
**Post date:** [June 19, 2004, 6:17am UTC](https://forum.kirupa.com/t/function-invocation-part-1/54953/1 "2004-06-19T06:17:00Z")

</div>

will not work if i invoke like this on button with this function:

function showMC(clip){  
\_root.content.drive.local.section5.clip.fade(6)  
}

on (release) {  
showCM(clipA);  
}

will work instead:

function showMC(clip){  
clip.fade(6)  
}

on (release) {  
showCM(\_root.content.drive.local.section5.clipA);  
}

i’m pretty bad at those syntax thing, what i want to  
avoid is to change evry button when my path changes (i got  
plenty of button)

thanks!
