i need help for the coding
i want to create simple video application,
1. user touch the button, and the video will be played
2. user can touch black bar of the video to return to the app
3. user can touch back button to return to the app <--- im stuck at here
while i playing the video, and when i tried to touch back button, it will quit and go the android screen,
what code should i use to return to the app when i touch the android back button?
here is my code
Code: Select all
on mouseUp
set the showController of the templatePlayer to true
put specialFolderPath("engine") & "/wifi.mp4" into tVideoFile
play video tVideoFile
end mouseUp
on movieTouched
play stop
end movieTouched