Smooth Shore
~Smooth Shore~
This was both fun and terror to create. There is a bug with Flash CS4 built-in player that caused the program to malfunction when I programmed the pause and play buttons for this music player. The bug causes music to get the wrong playback position after paused, and it took me 2 days of blood and tears to figure our it was not an error on my part.
UPGRADE TO FLASH PLAYER 10 before running this program. It might NOT WORK CORRECTLY with some buggier versions of Flash Player 9. I made sure the program will refuse to execute on Flash Player 8 or older just to save you the trouble.
The major work was to create the fully featured music player, complete with real-time 2-channels spectral sound waves. You can scrub the music anyway you like with the horizontal slider, and control the volume with the vertical one.
I have asked about this bug at the largest and most popular online Flash programming forums, but as usual, nobody knows a thing. Those forums have been to me like place one can post questions and see mold grow over them – it’s a real waste of time.
Programming a music player is one of the most popular tasks in Flash, but how come nobody noticed playback resumes from the wrong position after you pause it? I dug deep into Adobe’s developer forums and found out there was a 2007 bug with the Flash Player that persisted for years to come, and still seems to exist with the internal Flash Player 10 built into the brand new Flash CS4.
This means whenever I tested the program inside of Flash CS4, the player would give me wrong resuming playback positions and the music would play all wrong!! Compiling the program and playing it outside of Flash CS4 FINALLY played correctly, and only then I realized it was an internal Adobe bug. AAARRRGGHH!! Two days wasted!!
At the Adobe developers website, this bug has been reported in 2007 and classified as «severe», but never fixed even after 2 years have passed. It looks like they fixed it with the latest version of Flash Player 9 and 10, but the Flash CS4 internal player (which is also v10) still has the bug.
I have the feeling SOME of the people playing this new program of mine will still have one of those older players and this program will malfunction with them. As usual, they will NOT READ this text and complain that my program doesn’t work. I have no idea what specific versions of Flash Player 9 have the bug and which don’t.
The problem is that Flash Player versions earlier than 8 cannot detect it’s own version, so this will not work for everybody. I then created a new version verification test that will refuse to run the program if the player version cannot be detected. If it finds Player 9 it will allow execution but shows a warning that things may not work because some of the early Player 9 are buggy. Aw well, the heck…
The programming and art were entirely created by me. The music came from a royalty-free CD, and I re-arranged it with different instruments to create my own version of it.
Hope you like it and thanks for coming by.
Categories and tags of the game : Interactive, Loop, Music, Pre-rendered 3D, Single Player