Load FT Flashvars
/**
* Copyright Justin.Rath ( http://wonderfl.net/user/Justin.Rath )
* MIT License ( http://www.opensource.org/licenses/mit-license.php )
* Downloaded from: http://wonderfl.net/c/4Ie1
*/
package {
import flash.text.TextField;
import flash.display.Sprite;
public class FlashTest extends Sprite {
public function FlashTest() {
var tempID:String;
var tempF:String
var city:String;
var textf:TextField = new TextField();
stage.addChild(textf);
if(stage.loaderInfo.parameters["ftGeoCity"])
{
city = stage.loaderInfo.parameters["ftGeoCity"];
tempF = stage.loaderInfo.parameters["tempF"];
tempID = stage.loaderInfo.parameters["tempID"];
}else{
city = "Your city";
tempF = "50";
tempID = "123";
}
textf.text = city;
}
}
}