feathersui / feathersui-starling

User interface components for Starling Framework and Adobe AIR
https://feathersui.com/learn/as3-starling/
Other
914 stars 386 forks source link

SoundChannelPeakVisualizer Implementation #1805

Closed jam65st closed 4 years ago

jam65st commented 4 years ago

Hi, is possible that you publish an example about the Class: SoundChannelPeakVisualizer implementation and skinning.

Thanks a lot in advance.

joshtynjala commented 4 years ago

I believe that you need to set the width and height and add it to your VideoPlayer or SoundPlayer.

var peaks:SoundChannelPeakVisualizer = new SoundChannelPeakVisualizer();
peaks.width = 20;
peaks.height = 100;
mediaPlayer.addChild(peaks);

Looking over the code, the gap is the only styling property, which sets the number of pixels between the two bars. The two bars are just white quads, and it looks like I never exposed a way to change their colors.

jam65st commented 4 years ago

Hi @joshtynjala, this powerful feature is not documented and included in the FeathersUI themes. Its use is as described, but when compiling only a thin white line appears.

I apologize for the delay in responding, I jump a few days between projects but I need to thank you for the immense effort you have made to keep this technology alive.