Forum Moderators: open

Message Too Old, No Replies

Sound.setTransform ()

Does the setTransform object work properly?

         

Sekka

9:36 pm on Feb 16, 2006 (gmt 0)

10+ Year Member



I am currently building an MP3 player in flash and I have a PAN slider.

I am using the setTransform () method to alter the pan but it doesn't appear to be working correctly.

I did a trace and my object definately has the values I want it to but the PAN doesn't seem to actually PAN all the way.

For example,

newPanObj.ll = 100;
newPanObj.lr = 100;
newPanObj.rr = 0;
newPanObj.rl = 0;
fA_the_Track.setTransform (newPanObj);

This does make the left louder, but sound is still coming out of my right speaker.

Is this supposed to happen or am I doing something wrong?

Sekka

3:38 am on Feb 17, 2006 (gmt 0)

10+ Year Member



Never mind. It was a problem running it locally instead of in a web browser.