# Tweener Button Help

**URL:** <https://forum.kirupa.com/t/tweener-button-help/277547>\
**Category:** flash\
**Created:** [December 13, 2008, 2:23pm UTC](https://forum.kirupa.com/t/tweener-button-help/277547 "2008-12-13T14:23:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![papalazarou78](https://avatars.discourse-cdn.com/v4/letter/p/4af34b/32.png) [@papalazarou78](https://forum.kirupa.com/u/papalazarou78)\
**Post date:** [December 13, 2008, 2:23pm UTC](https://forum.kirupa.com/t/tweener-button-help/277547/1 "2008-12-13T14:23:05Z")

</div>

Hi

I’m using Tweener to create rollovers (changing the text colour) with the following text;

```auto
movMenuBar.movServicesBtn.onRollOver = function() {
   Tweener.addTween(movMenuBar.movServicesBtn.txtServices, {_text_color:0x990000, time:2});
};

movMenuBar.movServicesBtn.onRollOut = function() {
    Tweener.addTween(movMenuBar.movServicesBtn.txtServices, {_text_color:0x999999, time:2});
};

movMenuBar.movServicesBtn.onRelease = function() {
	Tweener.addTween(movMainContent, {_x:0, time:1.5, transition:"easeInOutBack"});
	movMainContent.movServices.gotoAndPlay("services_start");
    Tweener.addTween(movMenuBar.movServicesBtn.txtServices, {_text_color:0x990000});

};

```

The rollover works great, but I want the button/text to remain in the rollover colour of red (990000) when the button is pressed, but can’t seam to get it working. I have tried added the last tweener command into a onPress function as well with no luck.

Has anyone any pointers??

Thanks
