Return to Snippet

Revision: 6877
at June 23, 2008 03:24 by lzyy


Initial Code
params = "vid=2008060823253&auto_start=true&show_ad=false";
//params_arr = params.split("|");
for(var i=0;i<params_arr.length;i++){
	tmp_arr = params_arr[i].split("=");
	set(tmp_arr[0],tmp_arr[1]);
}
show_txt.text = "vid: "+vid+" auto_start: "+auto_start+" show_ad: "+show_ad;

Initial URL

                                

Initial Description
动态设置变量,并赋值

Initial Title
dynamic set variables

Initial Tags

                                

Initial Language
ActionScript