Code not working as revlet
Posted: Tue Nov 24, 2009 10:47 pm
This works fine when complied for OS X and run locally:
on mouseUp
play audioclip "fanfare10.wav"
repeat with i = 1 to 5
set the blendlevel of me to 100
wait 0.2 seconds with messages
set the blendlevel of me to 0
wait 0.2 seconds with messages
end repeat
end mouseUp
When compiled as a revlet, the audio clip does NOT play although the blendlevel repeat works.
In both cases, the code is run on a local machine and the audio file is in the same directory as the executable. What is going wrong?
Thanks, Tony.
on mouseUp
play audioclip "fanfare10.wav"
repeat with i = 1 to 5
set the blendlevel of me to 100
wait 0.2 seconds with messages
set the blendlevel of me to 0
wait 0.2 seconds with messages
end repeat
end mouseUp
When compiled as a revlet, the audio clip does NOT play although the blendlevel repeat works.
In both cases, the code is run on a local machine and the audio file is in the same directory as the executable. What is going wrong?
Thanks, Tony.