--------------------------------------------------------------------------------
Actions for Field "Audios" of Page "Start"
--------------------------------------------------------------------------------
-- On User event... ------------------------------------------------------------
Define local variable "timer" (Initial value: "")
Set timer to item 2 of value
If not isNumber ( timer )
Comment: Audio End event
Set visible of Button "aStop" to false
End if
With this code:
--------------------------------------------------------------------------------
Actions for Field "Audios" of Page "Start"
--------------------------------------------------------------------------------
-- On User event... ------------------------------------------------------------
if value contains "end"
Show Alert: "Your audio has ended: " & value
end if
Now export the problem page and check if the alert shows when the audio finishes playing.
UPDATE: Can you send me the audio file that is giving trouble? My thinking here is that there is some corruption toward the end of the file causing it to just stop/pause before the end of file. I would suggest opening the file in Audacity and looking at the wave portion toward the last second or so of the file and see if anything looks strange. Also, you may try re-exporting the mp3 from Audacity as it may clean up the file. I cannot necessarily say there is anything wrong with your actions logic.