Seems to work here in LC 5.5.3 (what I have handy). Not sure if anything has changed in later versions.
Regards, Scott Rossi Creative Director Tactile Media, UX/UI Design On 6/11/13 6:40 PM, "Thomas McGrath III" <[email protected]> wrote: >Has anyone been successful in having just one card in an app be >restricted to just landscape. I have an app that is supported for all >orientations but for one card I want to restrict the allowed orientations >to just landscape. > >I tried this on the card I want to restrict but with no luck: >on preopencard > if the environment is "mobile" then > mobileSetAllowedOrientations "landscape left,landscape right" > end if >end preopencard > >Is there a way to set the orientation when opening a card. I can't seem >to discover any. > >Tom > > >-- Tom McGrath III >http://lazyriver.on-rev.com >[email protected] > >_______________________________________________ >use-livecode mailing list >[email protected] >Please visit this url to subscribe, unsubscribe and manage your >subscription preferences: >http://lists.runrev.com/mailman/listinfo/use-livecode > _______________________________________________ use-livecode mailing list [email protected] Please visit this url to subscribe, unsubscribe and manage your subscription preferences: http://lists.runrev.com/mailman/listinfo/use-livecode
