A Flash Developer Resource Site

Results 1 to 7 of 7

Thread: Volume

  1. #1
    B.B. Hood's the greatest!!!
    Join Date
    Jul 2002
    Location
    Missouri, USA
    Posts
    56

    Volume

    I'm still working on my flash cartoon from before (I posted a link to it in the old 'Cartoon' post). I've added background music and voices to it. The problem is that the background music is as loud as the voices, so you have to kinda strain to understand what is being said. I was wondering how to lower the volume of the background music using action script.

  2. #2
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890
    The command lines:

    soundname = new Sound(Movie);
    _root.soundname.setVolume(x); (where x=0...100).



  3. #3
    B.B. Hood's the greatest!!!
    Join Date
    Jul 2002
    Location
    Missouri, USA
    Posts
    56

    Thank you.

    Is there any part of the code that I need to fill in myself? I'm not familiar with Action Script, so that's why I'm trying to learn some for my movies.

  4. #4
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890

    Re: Thank you.

    Originally posted by Gamer Lexi
    Is there any part of the code that I need to fill in myself? I'm not familiar with Action Script, so that's why I'm trying to learn some for my movies.
    "Movie" must be the name of the child-movie containing the sound.
    that's all

  5. #5
    B.B. Hood's the greatest!!!
    Join Date
    Jul 2002
    Location
    Missouri, USA
    Posts
    56
    Ok, what do you mean by child movie? Do you mean the key frame or the movie itself?

  6. #6
    undead creature necromanthus's Avatar
    Join Date
    Feb 2002
    Location
    ROM
    Posts
    1,890
    Originally posted by Gamer Lexi
    Ok, what do you mean by child movie? Do you mean the key frame or the movie itself?
    NO.
    You must build an empty movie with that sound (a child-movie for ROOT)

  7. #7
    B.B. Hood's the greatest!!!
    Join Date
    Jul 2002
    Location
    Missouri, USA
    Posts
    56
    Oh, ok. I gotcha. Thanks a lot.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center