# On/off switch

**URL:** <https://forum.kirupa.com/t/on-off-switch/13257>\
**Category:** Uncategorized\
**Created:** [February 10, 2003, 10:26pm UTC](https://forum.kirupa.com/t/on-off-switch/13257 "2003-02-10T22:26:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![gt3freak](https://avatars.discourse-cdn.com/v4/letter/g/f04885/32.png) [@gt3freak](https://forum.kirupa.com/u/gt3freak)\
**Post date:** [February 10, 2003, 10:26pm UTC](https://forum.kirupa.com/t/on-off-switch/13257/1 "2003-02-10T22:26:03Z")

</div>

Ok, i kinda asked something like this before but i still cant seem to get the hang of it. i’m making an on/off switch this time.  
in the normal state, the button will be black color. then when its rollovered, itll turn blue color. then after its clicked, itll stay blue (on) and a mc appears on the side. when u clik on the button again, itll revert back to black color (off) and the mc disappears. thanks, any help is appreciated. i attached a pic if u dont know what im talking about.

---

<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:** [February 10, 2003, 11:03pm UTC](https://forum.kirupa.com/t/on-off-switch/13257/2 "2003-02-10T23:03:45Z")

</div>

Perhaps this thread will help, sounds like what you want to do…

[http://www.kirupaforum.com/showthread.php?s=&threadid=14410](http://www.kirupaforum.com/showthread.php?s=&threadid=14410)

---

<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:** [February 11, 2003, 12:06am UTC](https://forum.kirupa.com/t/on-off-switch/13257/3 "2003-02-11T00:06:15Z")

</div>

check this out, guys in the Kirupa forum helped me with it.  
it worked great, change it to your own desires.

good luck

---

<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:** [February 11, 2003, 12:22am UTC](https://forum.kirupa.com/t/on-off-switch/13257/4 "2003-02-11T00:22:23Z")

</div>

Wow… somehow I misunderstood what he was asking for. which is weird because he was quite specific…LOL.

'DOH!

---

<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:** [February 11, 2003, 7:23pm UTC](https://forum.kirupa.com/t/on-off-switch/13257/5 "2003-02-11T19:23:21Z")

</div>

thanx alot! but what’s the 10 do? do i need a swf in the first frame in order to make it work properly?

```auto
loadMovieNum("no_sound.swf", 10);

```

---

<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:** [February 11, 2003, 7:24pm UTC](https://forum.kirupa.com/t/on-off-switch/13257/6 "2003-02-11T19:24:59Z")

</div>

10 is the level the sound will play on
