# 2 Questions - 1.About Button Actions - 2.About Variables

**URL:** <https://forum.kirupa.com/t/2-questions-1-about-button-actions-2-about-variables/195360>\
**Category:** flash\
**Created:** [July 31, 2006, 6:04am UTC](https://forum.kirupa.com/t/2-questions-1-about-button-actions-2-about-variables/195360 "2006-07-31T06:04:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Abus](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/abus/32/930_2.png) [@Abus](https://forum.kirupa.com/u/Abus)\
**Post date:** [July 31, 2006, 6:04am UTC](https://forum.kirupa.com/t/2-questions-1-about-button-actions-2-about-variables/195360/1 "2006-07-31T06:04:30Z")

</div>

**1 - About Button Actions**

Can’t we attain 2 Button actions at the same time for example

```auto
 
on (rollOver) {
 
  do something;
 
}
 
on (release) {
 
  do something else;
 
}

```

this does not work for me, is there a way to do it. Or should i do it with seperate buttons?

**2 - Variables**

Most of the time i am using loadMovie in my project, but if i am to store the data in a variable. How can i use it in loadMovie

for example;

I want to load movie1.swf

And i keep movie1 in a variable named variable

Now how do i load movie1.swf with using the variable and loadMovie function?
