//页面一
protected function barChart_itemDoubleClickHandler(event:ChartItemEvent):void
{
var barChartPercent: String = event.hitData.item.percent;
var url:String = "CustomerDetails.html?barChartPercent="+barChartPercent;
var request:URLRequest = new URLRequest(url);
navigateToURL(request,"_self");
}
//页面二 CustomerDetails.mxml
import mx.managers.BrowserManager;
import mx.managers.IBrowserManager;
//初始化函数
protected function initHandler():void{
var browserManager:IBrowserManager = BrowserManager.getInstance();
browserManager.init();
var baseUR:String = browserManager.base;
var str:Array = baseUR.split("?");
var s:String ;
s= str[1];
var ss:String = s.substr(16,(s.length-1));
}
Flex URLRequest 应用程序 页面跳转与传参
最新推荐文章于 2021-09-18 18:40:17 发布