Guest_imported
New member
- Jan 1, 1970
- 0
Hi all !!!
I am doing a project, it's style is something like the powerpoint presentation. In this project, some buttons would be displayed on the stage and whenever the users click any one of it, a sound( .wav format, in Win98 OS ) file corresponding to the button is played.
I imported the wave files as external links and using one cast member to represent the wave files. When users click on the buttons, the member's filePath property is changed correspondingly, and then I used puppetSound to play the files, each of it about 1Mb in size.
It works, but, there is an non-tolerable delay between each click and sound plays. The delays are about 5 second and within this delay time, the system hangs( giving no response to other applications) until the sound plays.
I doubt that I am doing it in a wrong way the director take away too much memory from the system... Anyway, I suppose that is there any other approach for doing that?? Since this project is running out of time, and this is the last part to be finished. PLEASE help ..........
Any idea is welcome.
Thanks in advance. ^^
I am doing a project, it's style is something like the powerpoint presentation. In this project, some buttons would be displayed on the stage and whenever the users click any one of it, a sound( .wav format, in Win98 OS ) file corresponding to the button is played.
I imported the wave files as external links and using one cast member to represent the wave files. When users click on the buttons, the member's filePath property is changed correspondingly, and then I used puppetSound to play the files, each of it about 1Mb in size.
It works, but, there is an non-tolerable delay between each click and sound plays. The delays are about 5 second and within this delay time, the system hangs( giving no response to other applications) until the sound plays.
I doubt that I am doing it in a wrong way the director take away too much memory from the system... Anyway, I suppose that is there any other approach for doing that?? Since this project is running out of time, and this is the last part to be finished. PLEASE help ..........
Any idea is welcome.
Thanks in advance. ^^