Solved

Start and stop sound to match movie

Posted on 2003-12-11
3
450 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 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

Independent Software Vendors: 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

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 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…
The goal of the tutorial is to teach the user how to how to load their YouTube profile onto Flash Media Live Encoder.

726 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