Here is my code -
Code: Select all
on mouseUp
put specialFolderPath("engine")&"/Video/Cab_Base_Level_mov" into docpath --local video
mobileControlCreate "player"
put the result into sPlayerId
mobileControlSet sPlayerId, "visible", "true"
mobileControlSet sPlayerId, "rect", "0,0,550,413"
mobileControlSet sPlayerId, "showController", "true"
mobileControlSet sPlayerId, "filename", docpath
mobileControlDo sPlayerId, "play"
end mouseUp