Questions about ExternalInterface

Takes the value of using the ExternalInterface from C # and try to change the fps of the stage as the value. But I do not seem to work properly.
Comes to the value of speed values ​​are sent in C #.
I try to output to screen incoming values ​​in C # I do not know how too.
The script is as follows:


this.stage.scaleMode =StageScaleMode.NO_SCALE;

import flash.external.*;

ExternalInterface.addCallback(“speed”, getSpeed);

function getSpeed(msg:String)
{
this.stage.frameRate = int(msg) * 30 / 20;
trace(msg);
}


How do we fix this?
:wasted: