Rotate the entire stage

Hi everyone.
Does anyone knows how to rotate all the elements of an application when the user rotates de iphone or ipad?

The only thing i try was to add this to build.settings:

settings =   
{  
  
 orientation =   
 {  
 default = "landscapeRight",  
 supported =   
 {  
 "landscapeRight", "landscapeLeft"  
 }  
  
 }  
  
}  

Thank you [import]uid: 105206 topic_id: 23405 reply_id: 323405[/import]

 orientation =  
 {  
 default = "landscape",  
  
 supported =  
 {  
 "landscapeLeft", "landscapeRight", "landscape"  
 },  
 },  

try this? [import]uid: 90610 topic_id: 23405 reply_id: 93752[/import]

Mmh it doesn’t works. [import]uid: 105206 topic_id: 23405 reply_id: 93755[/import]

what do you mean, it doesnt work? it will rotate the stage… [import]uid: 90610 topic_id: 23405 reply_id: 93757[/import]

Sorry, i don’t specificate well.
The problem i have is that the objects jumps from one position (landscapeRight) to another (landscapeLeft), but don’t rotate with the phone.

The only object that rotates with the phone is a native video.

Another question, there is a way to fix that video?
Thank you [import]uid: 105206 topic_id: 23405 reply_id: 93763[/import]

do you mean, you want to have it in portrait mode too? if so, you need to put it in there too i guess? [import]uid: 90610 topic_id: 23405 reply_id: 93764[/import]

No, i don’t want to have it in portrait, but i want the objects rotate when the iphone does. From LandscapeRight to LandscapeLeft. [import]uid: 105206 topic_id: 23405 reply_id: 93766[/import]

You mean it works but it appears to *snap* to the new rotation rather than rotate…

There is some code in code exchange that does what you want, but adds additional things to keep track of [import]uid: 84637 topic_id: 23405 reply_id: 93841[/import]