PDA

View Full Version : Coding stop/play/pause buttons


Scuba_Steve
08-23-2007, 09:39 PM
Dunno why the pause concept is giving me such a hard time. I know I need a variable to hold sound.position but any help would be appreciated.

Sound object is "narration" and resides on the main timeline. Buttons are in a dynamically loaded mc (not that this makes any difference).

I have 2 separate "Back" and "Forward" buttons that, on release, load a new topic and thus load a new mp3 into the sound object. Problem I'm having is that my "marker" variable which gets set to a narration.position on release of the pause button is doing its job too well. :) When the next mp3 is loaded, hitting play begins the new mp3 at the previously paused position. Can't seem to clear out "marker" to save my life.

Thanks in advance... :rolleyes:

tsj4
08-23-2007, 10:10 PM
can you post your code