# Continous button

**URL:** <https://forum.kirupa.com/t/continous-button/7463>\
**Category:** flash\
**Created:** [October 31, 2002, 5:48pm UTC](https://forum.kirupa.com/t/continous-button/7463 "2002-10-31T17:48:15Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![Didiusthegreat](https://avatars.discourse-cdn.com/v4/letter/d/2bfe46/32.png) [@Didiusthegreat](https://forum.kirupa.com/u/Didiusthegreat)\
**Post date:** [October 31, 2002, 5:48pm UTC](https://forum.kirupa.com/t/continous-button/7463/1 "2002-10-31T17:48:15Z")

</div>

Hi, I have another question!

I’m making a map now and i wanne be able to zoom in and then move around the map using a button. You understand? No? Allright then: First I want to zoom in. (I know how to do that) Then on the left of my map I would like a button, and if you press that button the map schould move to right, left??

Can someone help me how to make a continous button like that?

---

<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:** [October 31, 2002, 5:49pm UTC](https://forum.kirupa.com/t/continous-button/7463/2 "2002-10-31T17:49:37Z")

</div>

Is this what ur looking for?

---

<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:** [October 31, 2002, 5:53pm UTC](https://forum.kirupa.com/t/continous-button/7463/3 "2002-10-31T17:53:20Z")

</div>

Yes something like that, but how can i make it go smooth. instead of jumping to that point directly?

---

<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:** [October 31, 2002, 5:57pm UTC](https://forum.kirupa.com/t/continous-button/7463/4 "2002-10-31T17:57:19Z")

</div>

If you want to move right or left “smoothly” then you need to have a horizontally long single mc with whatever u want to show in it. Then when u click the right button u will have a masked motion tween with ease to the right and similarly to the left.

I hope this helps and hope I didnt confuse you a lot!

---

<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:** [October 31, 2002, 6:01pm UTC](https://forum.kirupa.com/t/continous-button/7463/5 "2002-10-31T18:01:05Z")

</div>

Sorry but you did :crazy: 🙂

[http://www.nyu.edu/map/virtual.nyu](http://www.nyu.edu/map/virtual.nyu) Here you can see what i mean beneath you see arrows and when you rollover the map moves. I want to do that to, but how. Please explain again??

---

<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:** [October 31, 2002, 6:08pm UTC](https://forum.kirupa.com/t/continous-button/7463/6 "2002-10-31T18:08:34Z")

</div>

The zoom in version of the map is the original map that they have. They have it in another mc.

When you click on the righ/left/top/down button it moves the mc according to pixel position. They have a motion tween in place that will give you that sliding effect.

---

<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:** [October 31, 2002, 6:12pm UTC](https://forum.kirupa.com/t/continous-button/7463/7 "2002-10-31T18:12:36Z")

</div>

Think I got it!

one more question: how do you lett the button function continously??

---

<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:** [October 31, 2002, 6:13pm UTC](https://forum.kirupa.com/t/continous-button/7463/8 "2002-10-31T18:13:43Z")

</div>

or can you give me something like that in .fla??

---

<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:** [October 31, 2002, 6:16pm UTC](https://forum.kirupa.com/t/continous-button/7463/9 "2002-10-31T18:16:09Z")

</div>

I can not give you the fla that I have. That is the reason that I have you a screen shot.

To have the button function continuously just take out the key frames that are there in the one that I showed you. Just have one big motion tween. Hope this helps!

---

<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:** [October 31, 2002, 6:22pm UTC](https://forum.kirupa.com/t/continous-button/7463/10 "2002-10-31T18:22:42Z")

</div>

hmm, right…

Are you sure you cannot post me the fla. else you just delete the importent thing (exept the button:o )

Please,…:hat:

---

<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:** [October 31, 2002, 6:24pm UTC](https://forum.kirupa.com/t/continous-button/7463/11 "2002-10-31T18:24:25Z")

</div>

Positive. Sorry!

---

<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:** [October 31, 2002, 6:25pm UTC](https://forum.kirupa.com/t/continous-button/7463/12 "2002-10-31T18:25:58Z")

</div>

I could try, couldn’t I?

can you just make me a continous button because I don’t really understand that??

---

<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:** [October 31, 2002, 6:45pm UTC](https://forum.kirupa.com/t/continous-button/7463/13 "2002-10-31T18:45:38Z")

</div>

Don’t worry I got it!

---

<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:** [October 31, 2002, 6:46pm UTC](https://forum.kirupa.com/t/continous-button/7463/14 "2002-10-31T18:46:25Z")

</div>

Coool!

---

<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:** [October 31, 2002, 6:46pm UTC](https://forum.kirupa.com/t/continous-button/7463/15 "2002-10-31T18:46:47Z")

</div>

Thnx srinivas 🙂 🙂 🙂
