SOUNDS ,AS3

  • sitevalidate03
  • Novice
  • Novice
  • No Avatar
  • Joined: May 01, 2009
  • Posts: 18
  • Status: Offline

Post June 19th, 2009, 10:57 pm

can i change the volume of a sound at a certain point if i have not created that sound dynamically?

in AS2 you could have : var songOneSound:Sound = new Sound(soundOne)
where soundOne is the movie clip containing the sound

it doesnt seem to work with AS3 though.
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post June 19th, 2009, 10:57 pm

  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post June 20th, 2009, 6:27 am

Forgive me for not providing a good example. I didn't research this much, but I think you can do what you want in AS3 with soundTransform. Read up on that a bit

http://livedocs.adobe.com/flash/9.0/Act ... sform.html
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.
  • graphixboy
  • Control + Z
  • Mastermind
  • User avatar
  • Joined: Jul 11, 2005
  • Posts: 1828
  • Loc: In the Great White North
  • Status: Offline

Post June 20th, 2009, 10:53 am

ATNO/TW wrote:
I think you can do what you want in AS3 with soundTransform.


But yes I believe the sound DOES HAVE TO BE dynamic for the sound transform to work.
If at first you don't succeed F1... If that doesn't work try Google!
//// Designer, Developer & Teacher - Interactive, Motion and 3D \\\\
Portfolio at WhenImNotSleeping.com
  • ATNO/TW
  • Super Moderator
  • Super Moderator
  • User avatar
  • Joined: May 28, 2003
  • Posts: 23404
  • Loc: Woodbridge VA
  • Status: Offline

Post June 21st, 2009, 5:16 am

Sorry, you're right. I overlooked that part.
"There's no place like 127.0.0.1 except for ::1."
Alexandria Networks. Leader in IT consulting for associations/non-profits, and small to medium sized businesses around the northern Virginia and Washington D.C. metro area.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 99 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.