Hi to all!:
Hope u can help me out. I´ve built a bar that grows as the sound is played. In the code I’m using, the position of the sound is expressed in milliseconds.
position = _root.track1.position/1000;
_root.myBar._xscale = position;
The thing is that i’d like to equal the bar width (250 pixels) with the total sound duration. So when the sound has got to the end, the bar has fully grown to 205 pixels.
I´ve already checked the Kenny Bellew tutorial, but still can’t figure out how this precise issue is solved.
Thanks in advance!!!..