# Loading jpgs

**URL:** <https://forum.kirupa.com/t/loading-jpgs/221122>\
**Category:** Uncategorized\
**Created:** [April 1, 2007, 6:15pm UTC](https://forum.kirupa.com/t/loading-jpgs/221122 "2007-04-01T18:15:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![paintshark](https://avatars.discourse-cdn.com/v4/letter/p/e68b1a/32.png) [@paintshark](https://forum.kirupa.com/u/paintshark)\
**Post date:** [April 1, 2007, 6:15pm UTC](https://forum.kirupa.com/t/loading-jpgs/221122/1 "2007-04-01T18:15:27Z")

</div>

I am designing a menu and want my buttons to display text of the scene they take you to on rollover. This is the script I am currently using but the image stays up after the mouse rolls off the button. What is the script used to fix this problem? Is there a better way to do this (ex: not having to load an external jpg. but being able to load a title in my library or a png that would only be displaed for the button on rollover.)

bounce\_btn.onRollOver=function(){  
loadMovie(“newspaper.jpg”, pic\_mc);  
\_root.pic\_mc.\_xscale = 25;  
\_root.pic\_mc.\_yscale = 25;  
}

Thnx for the help.

- Colin
