Home Tutorials Forums Articles Blogs Movies Library Employment Press

Go Back   ActionScript.org Forums > General > Gaming and Game Development

Reply
 
Thread Tools Rate Thread Display Modes
Old 08-05-2008, 06:35 PM   #1
ultraman
Registered User
 
Join Date: May 2008
Posts: 38
Default [AS2] flash game and audio un sync

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.
ultraman is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Flash programmer in Quebec city Bettye Projects and Positions 0 03-06-2008 05:49 PM
As3 Developer Required - Rush Job - Tetris Game Completion provdes Projects and Positions 0 12-09-2007 09:34 PM
RESUME: Senior Flash Designer / Developer - San Francisco OSS Projects and Positions 0 08-16-2006 07:29 PM
Advanced Problem : Streaming Audio Won't Load outside of flash player! tjcln Projectors and CDs 1 10-08-2005 02:06 AM
[AS1] Tiered Scoring System For Flash Game magician09 Gaming and Game Development 3 09-22-2004 12:18 PM


All times are GMT. The time now is 04:10 PM.

///
Follow actionscriptorg on Twitter

 


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.