Home Tutorials Forums Articles Blogs Movies Library Employment Press
Prev Previous Post   Next Post Next
Old 06-03-2011, 10:19 AM   #1
Registered User
Join Date: Jun 2011
Posts: 3
Default [AS2] Flash game audio issues


I am having a pretty irritating problem with the audio I am using for a Flash game which I am making using Flash 8 and Actionscript 2.0. The game itself is near complete and is already hosted online, it is a simple 2d shooter game where enemies go from one side of the screen to the other and you shoot them. I have built a preloader which works well however I have just added audio to the game, and I am finding that the preloader doesn’t seem to take this audio into account. The game itself loads up and is ready to play, however it could be another 30 seconds or so before the audio will kick in.

I have a main song loop which plays in the background (triggered once the start game button is pressed). A bullet shot sound when the mouse is clicked (triggered through code), and various sound effects that are played on the timelines of the enemy movie clips characters.

Part of my problem is that im implementing the audio in so many different ways and I am confused by the complexities of using audio in Flash. Should I build a separate preloader for the audio? Or am I simply doing something wrong in Flash itself when it comes to including the audio?

I have tried reading tutorials, but I don’t seem to find anything that solves my problem, please help!
aflashdeveloper is offline   Reply With Quote

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

All times are GMT. The time now is 07:09 AM.

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.