[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Swftools-common] Newbie having difficultly with mp3 sound file

From: Chris Pugh
Subject: Re: [Swftools-common] Newbie having difficultly with mp3 sound file
Date: Tue, 6 Jan 2009 06:48:51 +0000

2009/1/6 Bill Gray <address@hidden>:
- Hide quoted text -
> Hi again,
> I've figured out almost everything that I need to get this project done, but 
> I am having
> some unexpected difficultly with sound.
> I can load an mp3 sound track with...
> <code>
> .sound snd "soundtrack.mp3"
> .play snd
> </code>
> But it won't play all the way through.  It gets chopped off in the middle.
> I can load the same sound using a .wav file, but the .wav is 2.9MB where the 
> mp3 is 350kB!!!
> I have tried to play the mp3 through action script with the lines...
> <code>
>    .sound snd "soundtrack.mp3"
>        .action:
>            acSnd = new Sound(this);
>            acSnd.attachSound("snd");
>            acSnd.start();
>        .end
> </code>
> But this suffers from the same cut off issue as the simple way.
> Any suggestions would be greatly appreciated.

I noticed the curtailing a while back when I was creating a small
Media Player written
in .sc.   Here are two ways of playing an mp3 sound:



HTH in some way.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]