My flash as2.0
Code:
import flash.external.ExternalInterface;
_global.gfxExtensions = true;

Mouse.hide();
Stage.scaleMode = "noScale";
Stage.align = "TL";
shubiaozhuangtai=1;
var mouseListener:Object = new Object();
mouseListener.onMouseMove=function ()
{
	if (shubiaozhuangtai==1)
	{
      mouseCursor_mc._x=_root._xmouse;
      mouseCursor_mc._y=_root._ymouse;
	}
	else
	{
	  mouseCursor_mc._x=Stage.width/2;
      mouseCursor_mc._y=Stage.height/2;
	}
	ExternalInterface.call("zhuangtaijieshou",shubiaozhuangtai);

updateAfterEvent();
}
mouseListener.onMouseDown = function(button, target) 
{
	if (button == 2)
	{
		shubiaozhuangtai=0;
    trace( shubiaozhuangtai ); 
     }
}
mouseListener.onMouseUp = function(button, target) 
{
	if (button == 2)
	{
		shubiaozhuangtai=1;
		
    trace( shubiaozhuangtai ); 
     }
}

Mouse.addListener(mouseListener);
Gfxmovieplayer class
Code:
class MouseInterfaceGFx extends GFxMoviePlayer;
var int dangqianzhuangtai;

function Init(optional LocalPlayer LocalPlayer)
{
  Super.Init(LocalPlayer);
  Start();
  Advance(0);
  
}

event zhuangtaijieshou(float zhuangtai)
{
    dangqianzhuangtai=zhuangtai;
	`log(dangqianzhuangtai);
}



defaultproperties
{    
  bDisplayWithHudOff=false
  TimingMode=TM_Game
  MovieInfo=SwfMovie'wyuitest.wyuitest'
  bPauseGameWhileActive=false

}
playercontroller class
Code:
class MouseInterfacePlayerController extends PlayerController;

var MouseInterfaceGFx MouseInterfaceGFx;

 function  UpdateRotation(float deltatime)
 {
	local Rotator    DeltaRot,newRotation, ViewRotation;
    ViewRotation = Rotation;
   
   if (MouseInterfaceGFx(outer).dangqianzhuangtai == 0)
   {
    DeltaRot.Yaw    = PlayerInput.aTurn;
    DeltaRot.Pitch  = PlayerInput.aLookUp;
   }
	if (MouseInterfaceGFx(outer).dangqianzhuangtai == 1)
   {
    DeltaRot.Yaw    = 0;
    DeltaRot.Pitch  = 0;

   }
    ProcessViewRotation( DeltaTime, ViewRotation, DeltaRot );
    SetRotation(ViewRotation);

    ViewShake( deltaTime );

    NewRotation = ViewRotation;
    NewRotation.Roll = Rotation.Roll;

 }
defaultproperties
{   

}
gameinfo class
Code:
class MouseInterfaceGameInfo extends Gameinfo;

defaultproperties
{
  //HUDType=class'myhud'
  PlayerControllerClass=class'MouseInterfacePlayerController'
}
in kismet i creat "Levelload"and"open Gfxmovie" node
in "game type for PIE",i selete "MouseInterfaceGameInfo"

I want to RMB down then rotate view.RMB up don't rotate.
Sorry,my English too bad.Please help me ,thank you.