# Mouse over preview

**URL:** <https://forum.kirupa.com/t/mouse-over-preview/35531>\
**Category:** flash\
**Created:** [November 14, 2003, 11:13pm UTC](https://forum.kirupa.com/t/mouse-over-preview/35531 "2003-11-14T23:13:27Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sstearne](https://avatars.discourse-cdn.com/v4/letter/s/e274bd/32.png) [@sstearne](https://forum.kirupa.com/u/sstearne)\
**Post date:** [November 14, 2003, 11:13pm UTC](https://forum.kirupa.com/t/mouse-over-preview/35531/1 "2003-11-14T23:13:27Z")

</div>

Hey, guys.

How can i get my flash site to give a failry large preview (a jpeg picture in the centre of the page) when i mouse over something in the menu? I have seen it done elsewhere, but i cant figure out how to do it myself.

Thanks for any help you can give me, from Noobface

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 15, 2003, 1:19am UTC](https://forum.kirupa.com/t/mouse-over-preview/35531/2 "2003-11-15T01:19:36Z")

</div>

[AS]  
\_root.button.onRollOver = function() {  
\_root.createEmptyMovieClip (“newMC”, 1)  
newMC.loadMovie (“picture.jpg”)  
newMC.\_x = 200  
newMC.\_y = 200  
}  
[/AS]

That should work…🙂

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 15, 2003, 4:57am UTC](https://forum.kirupa.com/t/mouse-over-preview/35531/3 "2003-11-15T04:57:58Z")

</div>

Wow… thanks heaps - although i realised i could do almost the same thing by editing the “over” part of a regualr button, without code. Thanks again.
