# Simple buttons question!

**URL:** <https://forum.kirupa.com/t/simple-buttons-question/123600>\
**Category:** Uncategorized\
**Created:** [September 25, 2004, 3:14am UTC](https://forum.kirupa.com/t/simple-buttons-question/123600 "2004-09-25T03:14:09Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![simonsebergsen](https://avatars.discourse-cdn.com/v4/letter/s/a3d4f5/32.png) [@simonsebergsen](https://forum.kirupa.com/u/simonsebergsen)\
**Post date:** [September 25, 2004, 3:14am UTC](https://forum.kirupa.com/t/simple-buttons-question/123600/1 "2004-09-25T03:14:09Z")

</div>

hey

Im a newbie to flash.So here it comes

I want my button to do several things.

So far it does

on (release) {  
\_root.contents.loadMovie(“p1.swf”);

}

How will the script look if i want to add lets say :

on (rollover) {  
\_root.contents.loadMovie(“square.swf”);

}

Great forum! :sure:
