Skip to main content
Inspiring
April 7, 2012
Question

Problem:animate Volume

  • April 7, 2012
  • 1 reply
  • 513 views

Im designing a flash video controller. It has a scale for the volume (10 rectangles. one slightly taller than the other) each rectangle has its own instance, so  each rectangle can change color as it increases or decreases in volume.

I can get them to change color as the volume increases, but I'm having trouble figuring out how to get them to change back if the volume is deceased.

I cant seem to figure out the right conditional stament

This topic has been closed for replies.

1 reply

April 7, 2012

can you put the code ?  It seems you need a function to do that

A_Liebscher
Inspiring
April 9, 2012

I don't often work with volume on videos, but I'm sure there is some sort of volume property that videos have. You can check when that property changes, and then, depending on the volume level, color your bars.