# Someone, please get my pause button to work

**URL:** https://forum.kirupa.com/t/someone-please-get-my-pause-button-to-work/18623
**Category:** Uncategorized
**Created:** [April 18, 2003, 6:51pm UTC](https://forum.kirupa.com/t/someone-please-get-my-pause-button-to-work/18623 "2003-04-18T18:51:41Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![crazygamer](https://avatars.discourse-cdn.com/v4/letter/c/df788c/32.png) [@crazygamer](https://forum.kirupa.com/u/crazygamer)
#### Post date: [April 18, 2003, 6:51pm UTC](https://forum.kirupa.com/t/someone-please-get-my-pause-button-to-work/18623/1 "2003-04-18T18:51:41Z")

</div>

ok…i give up…way too many tries with absolutely no result…can someone please try to get this to work?!

[www.flashtek.devisland.net/newwebsite.fla](http://www.flashtek.devisland.net/newwebsite.fla) (3 megs!!!)

---

<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: [April 18, 2003, 8:23pm UTC](https://forum.kirupa.com/t/someone-please-get-my-pause-button-to-work/18623/2 "2003-04-18T20:23:44Z")

</div>

bump…anyone…or is it really that impossible

---

<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: [April 18, 2003, 8:30pm UTC](https://forum.kirupa.com/t/someone-please-get-my-pause-button-to-work/18623/3 "2003-04-18T20:30:11Z")

</div>

honestly… i doubt that your file will be downloaded being too big. :-\

you should make a new fla and remove everything that has nothing to with the sound thing. 😉

---

<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: [April 18, 2003, 8:37pm UTC](https://forum.kirupa.com/t/someone-please-get-my-pause-button-to-work/18623/4 "2003-04-18T20:37:43Z")

</div>

Well, I actually downloaded the file, but when I tried a few things and debuuged it, Flash crashed 3 times and once even my pc rebooted… 😠

Anyway, I can at least tell you that the code on your pause-button should be:

```auto

_root.trackposition = _root.track.position/1000;

```

you were referencing \_root.mySound I believe, which didn’t exist in your movie.

Also set the playing variabele when pressing the ‘play’, ‘pause’ and ‘stop’ buttons.

on your play button you should have something like:

```auto

on(release) {
	if(_root.playing == false) {
		_root.track.start(_root.trackPosition);
		playing = true;
	}
}

```

Hope it 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: [April 18, 2003, 8:43pm UTC](https://forum.kirupa.com/t/someone-please-get-my-pause-button-to-work/18623/5 "2003-04-18T20:43:26Z")

</div>

OH MY GOD!!! i’m so stupid…ya flashmatazz thanx…the code I had for my pause button was \_root.track.position\*1000 instead of / by…and the rest of the stuff i fixed as soon as i uploaded because i found it…thank you VERY much…i’m was sitting here stumped for like 2 hours
