Skip navigation
frenchi30
Currently Being Moderated

Controlling Timeline sound in AS3

Nov 19, 2007 11:05 AM

Hello everyone,
I have a timeline with a sound in it set to sync because I am scrubbing the main timeline....
I now want to control the volume of the sound in the timeline..is that possible in AS3??

sometime like : var my_globalSound:Sound = new Sound(stage);
that of course doesn't work, but how would I get access to the sound set in the timeline...

thanks!
 
Replies
  • Currently Being Moderated
    Nov 19, 2007 12:54 PM   in reply to frenchi30
    I think I am having the same problem, but I apologize if I've misunderstood your question.

    I would also like to control a synced sound on the timeline via AS3, but I can't figure out how to find the sound's instance name. There is no option in the Properties window to give it an instance name like I can do with a movie clip. Is there a way to find the instance's name? Is this your underlying problem, too?
     
    |
    Mark as:
  • Currently Being Moderated
    Nov 20, 2007 7:47 AM   in reply to frenchi30
    Sound class and SoundTransform class. read up.
     
    |
    Mark as:
  • Currently Being Moderated
    Dec 4, 2011 8:43 AM   in reply to frenchi30

    Thanks to all of you I was struggling with the same thing.

     

    The given code work perfectly for me.

     

    SoundMixer.soundTransform = new SoundTransform(0, 0); //volume, pan

     

    My issue: I am loading and external swf file(as3.0) wich have audio on timline and I want volume controller for that audio.

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points