# Very simple question

**URL:** https://forum.kirupa.com/t/very-simple-question/71455
**Category:** flash
**Created:** [November 25, 2004, 12:00am UTC](https://forum.kirupa.com/t/very-simple-question/71455 "2004-11-25T00:00:10Z")
**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: [November 25, 2004, 12:00am UTC](https://forum.kirupa.com/t/very-simple-question/71455/1 "2004-11-25T00:00:10Z")

</div>

I have been learning actionScript on my own for a month and am stuck on something really stupid am sure its super easy.  
I know that to create a function i write:

myFunction = function (parameters…){code};

Now my question is, what does the next line of codes do as far as functions are concerned i know what the loading text part do, i need only the fucntion part.  
Is it a function called everytime the text is loaded ?? or what? i thought you only put the name of the fucntion and then create it.

loadText.onLoad = function() {  
yourTextInstance.html = true;  
yourTextInstance.htmlText = this.yourExternalVariable;  
};

Please help am going crazy learning ationScript!  
Thanks
