看板 Flash 關於我們 聯絡資訊
各位好 我asp程式巳寫好若用 http://localhost/magic/test.asp?p_id=108 視窗會出現name2=1234 那我在flash寫程式如下 system.usecodepage=true; this.loadVariables ("http://localhost/magic/test.asp?p_id=108", "this"); strname=name2; //strname 是flash的動態文字欄位 這時flash的文字欄位會空白?? 是不是我的程式有寫錯?? -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 124.8.83.24
KawasumiMai:localhost..... 03/07 00:30
aquarianboy:localhost不是問題,只是你要丟上來給別人看看不到 03/07 01:04
aquarianboy:附個fla吧 03/07 01:05
sextitanic:strname 後面有加 .text 嗎 03/07 10:15
jarrys2:fla 就只有三行就是我上面那三行 03/07 12:38
jarrys2:動態欄位我沒設錯若我用strname="abc"那是OK會有值 03/07 12:39
jarrys2:strname.text=name2; 也試過了~沒值 03/07 12:40
jarrys2:flash和asp是這樣溝通的嗎,我是看網路上的範例寫的? 03/07 12:41
aquarianboy:就算是只有三行,誰知道你這三行是怎麼放在fla裡的呢? 03/07 20:16
aquarianboy:還有你的fla裡是不是有別的變數也沒人知道 03/07 20:17
aquarianboy:如果覺得附個fla很麻煩,那就只好加油囉 03/07 20:17
KawasumiMai:loadVar之後就想接值很容易出問題 03/07 20:46
KawasumiMai:寫個onload事件吧 03/07 20:46