Hi sundeep
> how can i make a pause and continue button for a wav. file.
> making sound pause is ok with me but after pressing continue btn it starts
> all over again from the beginning. i want it to start exactly from where it
> paused.
> i have some cue points in the sound file.
> i downloaded some behaviour from updatestage.com but they also start the
> sound from the beginning.
> thanx.....u r my only hope
Just cut this out of the Director Help and tried it. Worked great off my harddrive.
I used "insert -> Media Element -> Shockwave Audio... and linked a SWA to the cast.
Hope this helps
on mouseDown
whatState = member("soundSWA").state
if whatState = 3 then
member("soundSWA").pause()
else
member("soundSWA").play()
end if
end
Bjarne
_______________________________________________________
If it's true that we are here to help others, then what exactly are the OTHERS here
for?
Bjarne Nyquist
Researcher, Lingo Programmer
The Interactive Institute, phone: +46-(0)8 783 24 74
www.interactiveinstitute.se
[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/LUJ/lingo-l.cgi To post messages to the list,
email [EMAIL PROTECTED] (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo. Thanks!]