Google
 
Webnews.only-4-geeks.com
Interesting places
news.only-4-geeks.com Forum Index » Flash - ActionScript

Sound in Flash 5 game causes slowndown on newer computers

 
Jump to:  
 
algomeysa2
PostPosted: Mon Jun 09, 2008 11:36 am    Post subject: Sound in Flash 5 game causes slowndown on newer computers
       
I've got a PC from 2004, I think it's a pentium 3 3.3 ghz.

I've occasionally still been using Flash 5 to make some little games. I
know, ancient history, but it's what I can churn out stuff fastest with.

The problem is, when I run it on this older machine, it works fine...

....but when I tried it out recently on several much newer computers, and,
I'd think, superior, I found a weird thing, when I play a .wav file, there's
a distinct hiccup on the newer machines (when I've got keyboard-controlled
objects moving around), the game sort of pauses for a split second, and it's
annoying.

Basically I've got the sound set up like this early on:
(kaboom being a .wav file with linkage of that name, "kaboom"

mySound=new Sound();
mySound.attachSound("kaboom");
mySound.setVolume(25);

And then, later in the game when I need that sound:

mySound.start();

But when I've got a keyboard controlled object moving around, when the sound
plays, the game sort of hiccups, there's a distinct pause to the moving
object (car, spaceship, whatever) when I try it on newer machines.

But as I say, it works swimmingly on my older machine, Any idea why, that
Flash 5 sound seems to be more problematic on a newer machine?

It's annoying to have the game work really well on my older machine, and
then, when I try to show it to a friend on their newer machine, find that it
seems much more sluggish when the sound causes the game to sort of jerk in
the midst of action....
 

Page 1 of 1 .:.

Google
 
Webnews.only-4-geeks.com

Windows Update | C++ | C | PHP | JavaScript | Photoshop | Programming | Windows 2000 | Python | Windows XP | Object | Flash | Flash - ActionScript | Paint Shop Pro | Excel | PowerPoint | Access | Word | Windows 98 | Internet Explorer 6.0 | CorelDraw12 | Java | XML | asm x86 | Linux Mandrake | Linux RedHat | Outlook |  | news from newsgroups |_ | s

Web Templates

Awesome Website Templates ©

meble kuchenne słupsk Makumba - Big Cyc ochrona poznań Dieta nowe projekty domów