Solved

Start and stop sound to match movie

Posted on 2003-12-11
3
446 Views
Last Modified: 2008-03-04
I need to start and stop a sound to match the movie. As in if a user clicks a stop button in frame 123, then the sound stops accordingly. Then if the user clicks a go button, then the sound picks up where it left off at frame 124 and continues playing.

Any help out there?
0
Comment
Question by:jgla
3 Comments
 
LVL 23

Assisted Solution

by:adilkhan
adilkhan earned 100 total points
ID: 9924723
0
 
LVL 9

Accepted Solution

by:
rexmor earned 150 total points
ID: 9925825
hello,

similar to adilkhan url... to give you more info...

you can do this...

create a movieclip then import your sound on it.. select streaming drag it in the stage with an instance name mysound

on (release){
 _root.mysound.stop();
  // or
// _root.mysound.play();
}

or

mysound = new Sound();
mysound.loadSound("myfavsound.mp3",false);


on (release) {
          mysound.stop()
}

on (release) {
      mysound.start();
}


hope that helps.


rexmor
0
 

Author Comment

by:jgla
ID: 9930028
Thanks
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In my long career of working as an actionscript developer, I had spent sleepless night often working hard to solve some small problems which actually took a lot of my development time; later found out the solutions to be a line or two. Here are s…
While working over numerous projects I often had the requirement for doing a screen capture in AS3.0. Unfortunately I found no "ready made" solutions in google search that suited my requirements. But I did come across some great resources which help…
In this tutorial viewers will learn how to create a basic motion tween animation in Flash Open a new document in Flash: Draw/import an image: Press CTRL + F8 to convert it into a graphic symbol: Select a frame (how long you want the tween to last): …
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…

948 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now