Re: [Flashcoders] Controlling Sound in the timeline - AS3

2008-11-15 Thread karim beyrouti
This worked - thanks - however - my sound is triggered on the timeline ( event - loop ) , is there a way i can control the sound position - i.e. restart the sound or skip to a certain position in the audio? Or maybe this is asking a little too much from timeline triggered sounds. Many

Re: [Flashcoders] Controlling Sound in the timeline - AS3

2008-11-15 Thread Kenneth Kawamoto
I don't think so. If the sound was Stream you could control the sound's playtime by sending the playhead to the desired frame. Kenneth Kawamoto http://www.materiaprima.co.uk/ karim beyrouti wrote: This worked - thanks - however - my sound is triggered on the timeline ( event - loop ) , is

[Flashcoders] Controlling Sound in the timeline - AS3

2008-11-14 Thread Karim Beyrouti
Hi ! Another simple AS3 question - well at least I hope so. I am trying to set the volume of a sound that has been embedded in the 'root' timeline of a loaded movieclip (as3). So I tried: Themc.soundTransform.volume = 0; But nothing happened - no mute or anything in AS2 we used

Re: [Flashcoders] Controlling Sound in the timeline - AS3

2008-11-14 Thread ekameleon
Hello :) Can you create a little script to show your loader in action ? You target the loader or this content reference ? var loader:Loader = new Loader() ; loader.load(mySWF.swf) ; ... when your swf is loading you can target the loader.content reference and not the loader container. EKA+ :)

Re: [Flashcoders] Controlling Sound in the timeline - AS3

2008-11-14 Thread Kenneth Kawamoto
Shouldn't it be more like: var stfm:SoundTransform = theMC.soundTransform; stfm.volume = 0; theMC.soundTransform = stfm; Kenneth Kawamoto http://www.materiaprima.co.uk/ Karim Beyrouti wrote: Hi ! Another simple AS3 question - well at least I hope so. I am trying to set the volume of a