# onRollOver not working but onRelease does...help! :)

**URL:** <https://forum.kirupa.com/t/onrollover-not-working-but-onrelease-does-help/274577>\
**Category:** flash\
**Created:** [October 31, 2008, 5:13pm UTC](https://forum.kirupa.com/t/onrollover-not-working-but-onrelease-does-help/274577 "2008-10-31T17:13:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![almaline03](https://avatars.discourse-cdn.com/v4/letter/a/41988e/32.png) [@almaline03](https://forum.kirupa.com/u/almaline03)\
**Post date:** [October 31, 2008, 5:13pm UTC](https://forum.kirupa.com/t/onrollover-not-working-but-onrelease-does-help/274577/1 "2008-10-31T17:13:51Z")

</div>

I have two buttons. Each one calls in an external swf. I would like one of them to call it in onRollOver but nothing happens. It works fine when I change it to onRelease. Any help?

This is the code I have for the two. I have also attached some sample flas.

```auto

// Instantiate MovieClipLoader Class
var thumbloader:MovieClipLoader = new MovieClipLoader();

case_btn_1.onRollOut = function() {
	// use loadClip to load SWF file into a movie clip header_mc
	thumbloader.loadClip("case_study_1b.swf","thumbContainer");	
};

case_btn_2.onRelease = function() {
	// use loadClip to load SWF file into a movie clip header_mc
	thumbloader.loadClip("case_study_2b.swf","thumbContainer");	
};

```
