# Dynamic text change on Rollover

**URL:** <https://forum.kirupa.com/t/dynamic-text-change-on-rollover/175536>\
**Category:** flash\
**Created:** [January 15, 2006, 3:43pm UTC](https://forum.kirupa.com/t/dynamic-text-change-on-rollover/175536 "2006-01-15T15:43:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Davehead](https://avatars.discourse-cdn.com/v4/letter/d/58f4c7/32.png) [@Davehead](https://forum.kirupa.com/u/Davehead)\
**Post date:** [January 15, 2006, 3:43pm UTC](https://forum.kirupa.com/t/dynamic-text-change-on-rollover/175536/1 "2006-01-15T15:43:24Z")

</div>

Hi all.  
I have just this weekend made the move from Flash MX to Flash 8. I am doing something that usuallly works for MX, but not here (I take it its due to AS2, which I dont have experience with).  
It is extremely simple (or should be).  
I have a button, and a blank dyn text field (instance name “txt\_title”).  
The actions on the button are :

**on (rollover) {  
\_root.txt\_title.text=“This is image 01”;  
}  
on (rollout) {  
\_root.txt\_title.text="";  
}**

All well and good, but the desired text only appears for a split seond before dissappearing, where as it should surely only dissappear on rollout ???

D
