Oracle::Playing wave on Developer 6i

How to play wave file on developer 6i??


1. Create item and set property “sound”
2. Put the code below on when_button_pressed
Go_Item(‘your_sound_item_property‘);
Read_Sound_File(‘path_of_your_waves_file‘, ‘WAVE’, ‘your_sound_item_property‘);
Play_Sound(‘your_sound_item_property‘);
example :

Go_Item(‘top_bar.playx‘);
Read_Sound_File(‘E:\bird_hawk.wav‘, ‘WAVE’, ‘top_bar.playx‘);
Play_Sound(‘top_bar.playx‘);