Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Start and stop sound to match movie

Posted on 2003-12-11
3
Medium Priority
?
453 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 23

Assisted Solution

by:Saqib Khan
Saqib Khan earned 400 total points
ID: 9924723
0
 
LVL 9

Accepted Solution

by:
rexmor earned 600 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
The last time I worked with Flash and Socket connections was in AS1. A recent project required flash connecting to a Socket, and sending receiving information - we figured it would be easy enough - we all know about the socket policy documents and c…
The goal of the tutorial is to teach the user how to how to record live broadcast.
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.
Suggested Courses

604 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