Note: This is an archived post that was originally sent to the Hollywood mailing list on Thu, 29 Mar 2007 09:07:32 -0700 (PDT)
I'm having trouble getting an MP3 file to only play once without repeating.
In Hollywood 2.5, there is an option to set the number of times a music file will loop itself; but no matter what I set it for, I always get an endless loop.
Does anyone else have this problem?
[29 Mar 2007] Repeating Music
- airsoftsoftwair
- Posts: 5833
- Joined: Fri Feb 12, 2010 2:33 pm
- Location: Germany
- Contact:
[30 Mar 2007] Re: Repeating Music
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 30 Mar 2007 12:31:26 +0200
Examples:
etc.
Probably a misunderstanding of the documentation. You have to specify how many times the music shall be played (not how many times it shall be looped!).I'm having trouble getting an MP3 file to only play once without repeating.
In Hollywood 2.5, there is an option to set the number of times a music file will loop itself; but no matter what I set it for, I always get an endless loop.
Examples:
Code: Select all
Pass x for y
0 for endless loop
1 for play once (i.e. no loop)
2 for play twice (i.e. loop once)
3 for play thrice (i.e. loop twice)
Here it works fine.Does anyone else have this problem?
[30 Mar 2007] Re: Repeating Music
Note: This is an archived post that was originally sent to the Hollywood mailing list on Fri, 30 Mar 2007 13:57:42 -0700 (PDT)
I found out what the problem was. I had a repeated section of code that was causing the music file to play over and over again. Everything works fine now.
I found out what the problem was. I had a repeated section of code that was causing the music file to play over and over again. Everything works fine now.