Hi. We developpe a simple guitar hero-style game for a client and have problem with sync.
1-In the first version, songs were streaming from an xml file and not at all loaded in the game. The sound start was always in the middle of no where and the movies seems to play at different speed, depending of the computers and connexion speeds, even if it was preloaded.
2-Then we tried to import the song to library and then to a frame, with a preloader at the start of the movie. The offline version seems well but online version is weird. It seems that the first time it played it's ok but if you play the movie several times, it's not always the same speed because the sync is changing.
3-Third, we loaded the song externally with loadsound and a preloader, in the movie, just before the play panel of the game. Once again, it seems that the sync changes while playing the movie several times.
Is there a way to have bullet proof sync with flash movies and mp3's?
You can see example here (game is not finished and skulls are not in sync with the music) but you can see that they not always in sync, time after time.
www.beatpromo.ca/franky/index.html (loading in the game)
www.beatpromo.ca/franky/index2.html (included in the game)
Two versions with two approaches.
Thanks.