Depending a bit on how you are embedding the swf, you can disable autorotation in Flash Lite 4 inside the WRT widget:
http://library.forum.nokia.com/topic...1823A4534.html
Or are you embedding in a Symbian app or perhaps NFL?
The only other way in Flash Lite 4 seems to be this:
Code:
var stageSizeListener:Object = new Object();
stageSizeListener.onResize=function()
{
if(Stage.width > Stage.height) {
_root.main._rotation = -90;
_root.main._x = 0;
_root.main._y = 360;
} else {
_root.main._rotation = 0;
_root.main._x = 0;
_root.main._y = 0;
}
}
Stage.addListener(stageSizeListener);