use-revolution digest, Vol 1 #487 - 6 msgs

Scott Rossi scott at tactilemedia.com
Thu Nov 14 17:57:01 EST 2002


Recently, "Barry Levine"  wrote:

> I'm creating a program that plays some ".aif" audio (22KHz, 16bit,
> mono). I'm having a problem getting a particular file to play back in a
> consistent manner. Using Transcript, I set the filename of a player
> object to the audio file and then tell the player to play. I then set
> it to another file and play the player again. It seems only to happen
> to one particular file and then only in this manner:
> 
> The first time I set the filename to file 1 and play the player, I get
> no audio. The second time I do.
> 
> Then I set the filename to file 2 and play the player. It always plays.
> 
> Then I set the filename back to file1 and play the player. No audio. I
> do it again and it works.

Try setting the fileName of the player to empty in between fileName changes.

Regards,

Scott Rossi
Creative Director
Tactile Media, Multimedia & Design
-----
E: scott at tactilemedia.com
W: http://www.tactilemedia.com




More information about the use-livecode mailing list