# Functions

**URL:** <https://forum.kirupa.com/t/functions/114867>\
**Category:** Uncategorized\
**Created:** [July 2, 2004, 3:42pm UTC](https://forum.kirupa.com/t/functions/114867 "2004-07-02T15:42:35Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![abraxas](https://avatars.discourse-cdn.com/v4/letter/a/a87d85/32.png) [@abraxas](https://forum.kirupa.com/u/abraxas)\
**Post date:** [July 2, 2004, 3:42pm UTC](https://forum.kirupa.com/t/functions/114867/1 "2004-07-02T15:42:35Z")

</div>

Hello!

I wonder if I can make a button that starts a movieclip AND writes in a text in a dynamatic textfield?  
I have this as on the button:

on(release) {  
tellTarget(“texteffect”) [color=deepskyblue]//this is the movieclip[/color]  
gotoAndPlay(1)  
textfield = “text1” [color=deepskyblue] //this is the dynamatic textfield[/color]  
}

When i press down the button, the movieclip only starts.  
And i have wrote in the textfield in the Var: of the dynamatic textfield.  
I wonder, have i done anything wrong or cant i do 2 functions on 1 button?

Thanks  
abraxas
