In openstack message I put
Code: Select all
iphoneSetAllowedOrientations "landscape left, landscape right"
In the simulator iPad it works fine but not in iPhone (Retina). No resizing or any other things. Any idea?
Thanks ... Guera
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Code: Select all
iphoneSetAllowedOrientations "landscape left, landscape right"
Code: Select all
iphoneSetAllowedOrientations "landscape left, landscape right"
Code: Select all
iphoneSetAllowedOrientations( "landscape left", "landscape right")
Code: Select all
--Put this in the card script of the first card:
on preOpenStack
set the visible of this stack to false -- hide it
end preOpenStack
on openStack -- it's still invisible
getTheDevice -- your substack opens here; it is visible
end openStack
--This is in the stack script
on getTheDevice
put the machine into tDevice
switch tDevice
case "iPhone Simulator"
case "iPhone"
case "iPod Touch"
go to stack "iPhonestack"
break
case "iPad Simulator"
case "iPad"
go to stack "iPadStack"
break
end switch
end getTheDevice
Code: Select all
on openstack
--mobileSetAllowedOrientations "landscape left,landscape right"
end openstack
on getTheDevice
put the machine into tDevice
switch tDevice
case "iPhone Simulator"
case "iPhone"
case "iPod Touch"
mobileSetAllowedOrientations "landscape left,landscape right"
go to stack "iPhonestack"
break
case "iPad Simulator"
case "iPad"
mobileSetAllowedOrientations "landscape left,landscape right"
go to stack "iPadStack"
break
end switch
end getTheDevice