# Very basic syntax question

**URL:** <https://forum.kirupa.com/t/very-basic-syntax-question/73725>\
**Category:** flash\
**Created:** [December 19, 2004, 10:09pm UTC](https://forum.kirupa.com/t/very-basic-syntax-question/73725 "2004-12-19T22:09:37Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Tyler](https://avatars.discourse-cdn.com/v4/letter/t/35a633/32.png) [@Tyler](https://forum.kirupa.com/u/Tyler)\
**Post date:** [December 19, 2004, 10:09pm UTC](https://forum.kirupa.com/t/very-basic-syntax-question/73725/1 "2004-12-19T22:09:37Z")

</div>

button1.onRelease=function(){  
loadVariables(“Text1.txt”,"\_root");  
}

Why do we put =fucntion after the onRelease? is it creating a function or calling one?  
Am a beginner so i maybe just mixing 2 different ways of writing the same thing.

Thanks guys.
