hi all,
to change resolution of screen i use the below code,
I want to accomplish this from a flash file,i would write a function like this in my action script:
import flahs.external.ExternalInterface;
function SetRes(x:number , y:number , optionalFullScreen:string)
{
ExternalInterface.Call("FlashToConsole","setres "+x+"×"+y+optionalFullScreen);
}
on the Unreal Side:
function FlashToConsole(string command)
{
ConsoleCommand(command);
}
but it doesn't work at all,i don't see effect of this code.
what's problem?
how can i change resolution of screen dynamically?
is there any idea?
thanks
to change resolution of screen i use the below code,
I want to accomplish this from a flash file,i would write a function like this in my action script:
import flahs.external.ExternalInterface;
function SetRes(x:number , y:number , optionalFullScreen:string)
{
ExternalInterface.Call("FlashToConsole","setres "+x+"×"+y+optionalFullScreen);
}
on the Unreal Side:
function FlashToConsole(string command)
{
ConsoleCommand(command);
}
but it doesn't work at all,i don't see effect of this code.
what's problem?
how can i change resolution of screen dynamically?
is there any idea?
thanks
Comment