Archive for September, 2005

External MP3 Streaming Loop

Saturday, September 24th, 2005

For those of you using sound, you must have come accross this problem a few times. Your streaming mp3 doesn't loop correctly using the traditional actionscript way using the onSoundComplete method :

Actionscript:
  1.  
  2. mySound:Sound = new Sound(this);
  3. mySound.loadSound("loop.mp3",true);
  4. mySound.onSoundComplete = function() {
  5.             this.start(0);
  6. }

There was allways this little gap at the loop point, it's because mp3 encoders allways add blank noise at the beggining and the end of the files, around 24.5 ms of silence. (more...)

Flash Rounded Rectangle

Friday, September 23rd, 2005

Ahh the rounded rectangle, we love to use it, it looks nice, slick and gives that little something more to your designs.

But what if you don't want to have all four corners to be round, but just three or two or just that one at the top right of the rectangle ? This is the problem I explored.

(more...)

Flash 8 Liquid Image

Thursday, September 22nd, 2005

We've all seen the great examples from the greats of Flash creation, the one I keep in mind is the FlashGuru Guy Watson and his store of Flash 8 examples.

As anyone viewing these great pieces of work, I was inspired in trying to reproduce de same effects.

I've managed to reproduce the liquid image using ActionScript and the new BitmapData.
(more...)