Object application
Line mobileSetAllowedOrientations "portrait" // set allowed orientations
Hint mobileSetAllowedOrientations
Code: Select all
on preOpenStack
mobileSetAllowedOrientations "portrait" // set allowed orientations
end preOpenStack
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
on preOpenStack
mobileSetAllowedOrientations "portrait" // set allowed orientations
end preOpenStack
Code: Select all
iphoneSetAllowedOrientations("landscape left", "landscape right")
Code: Select all
executing at 10:03:06 AM
Type Handler: can't find handler
Object My App
Line mobileSetAllowedOrientations("portrait", "landscape left", "landscape right")
Hint mobileSetAllowedOrientations
Code: Select all
executing at 10:04:23 AM
Type Handler: can't find handler
Object My App
Line mobileSetAllowedOrientations "portrait,landscape left,landscape right"
Hint mobileSetAllowedOrientations
Code: Select all
...
## ONLY execute this on mobile!
if the environment = "mobile" then
mobile_this...
mobile_that..
end if
...