想請教有關用 IE 開啟彈跳視窗 無法顯示 loading 動畫

59 views
Skip to first unread message

nL lee

unread,
Feb 13, 2012, 2:46:23 AM2/13/12
to au...@googlegroups.com
想請教各位前輩 , 有遇過 IE 直接去開 swf 無法顯示 loading 動畫的情況嗎 ?
內嵌在網頁是沒有問題 不過因為要帶一些參數去給 開啟的 swf 讀取 所以變成要直接 開swf
但在 firefox 上直接開沒有問題( 正常顯示loading )

但在 IE上 它不顯示loading(畫面一片白) , 直接load完跳到 load好的畫面

Ticore Shih

unread,
Feb 13, 2012, 2:54:31 AM2/13/12
to au...@googlegroups.com

一般不建議直接給 SWF 讓瀏覽器看

包個 HTML 會比較好



--
您收到此郵件,是因為您訂閱了 Google 網上論壇的「台灣 Adobe 使用者俱樂部 」群組。
如要在此群組張貼留言,請寄電子郵件至 au...@googlegroups.com
如要取消訂閱此群組,請寄電子郵件至 augtw-un...@googlegroups.com
如需更多選項,請造訪此群
組:http://groups.google.com.tw/group/augtw?hl=zh-TW?hl=zh-TW



--
Ticore's Blog
http://ticore.blogspot.com/

nL lee

unread,
Feb 13, 2012, 3:04:03 AM2/13/12
to au...@googlegroups.com
那因為 原本的作法是有 swf ? 有帶參數 , 
再請教一下 如果現在包成 html 參數的傳遞 建議是 var 包變數 sendToURL 去做傳接值嗎 ?

Ticore Shih

unread,
Feb 13, 2012, 3:16:50 AM2/13/12
to au...@googlegroups.com
用 FlashVars 傳

nL lee <u242...@gmail.com> 於 2012年2月13日下午4:04 寫道:
那因為 原本的作法是有 swf ? 有帶參數 , 
再請教一下 如果現在包成 html 參數的傳遞 建議是 var 包變數 sendToURL 去做傳接值嗎 ?

--
您收到此郵件,是因為您訂閱了 Google 網上論壇的「台灣 Adobe 使用者俱樂部 」群組。
如要在此群組張貼留言,請寄電子郵件至 au...@googlegroups.com
如要取消訂閱此群組,請寄電子郵件至 augtw-un...@googlegroups.com
如需更多選項,請造訪此群
組:http://groups.google.com.tw/group/augtw?hl=zh-TW?hl=zh-TW

nL lee

unread,
Feb 13, 2012, 3:33:16 AM2/13/12
to au...@googlegroups.com
ㄜ 有點不太懂  FlashVar  是 2.0 的 FlashVar ? 還是 .........

我是想說用

            var variables:URLVariables = new URLVariables();
            variables.flashnum = 123;

包變數過去 ... 

nL lee

unread,
Feb 13, 2012, 5:14:42 AM2/13/12
to au...@googlegroups.com
喔 我懂了懂了,  嵌在這裡面傳值就ok   <param name="flashvars" value="param1=test1" />

感謝感謝!~

nL lee

unread,
Mar 1, 2012, 10:49:09 PM3/1/12
to au...@googlegroups.com
發現 Flashvar 傳值 除了IE 正常運作讀值外  其他瀏覽器怎麼都沒反應!~
不論讓它不斷loop偵測或 load完再讀取 都是讀值underfined  , IE就正常顯示!~

hsu tom

unread,
Mar 1, 2012, 10:54:36 PM3/1/12
to au...@googlegroups.com
var flashvars = {};
flashvars.xxx= "null";
flashvars.ooo = "null";
flashvars.kkk = "null";


我這是這樣透過SWFOBJECT傳值到SWF裡面的~這個模式在各瀏覽器都正常哩

nL lee <u242...@gmail.com> 於 2012年3月2日上午11:49 寫道:
發現 Flashvar 傳值 除了IE 正常運作讀值外  其他瀏覽器怎麼都沒反應!~
不論讓它不斷loop偵測或 load完再讀取 都是讀值underfined  , IE就正常顯示!~

--
您收到此郵件,是因為您訂閱了 Google 網上論壇的「台灣 Adobe 使用者俱樂部 」群組。
如要在此群組張貼留言,請寄電子郵件至 au...@googlegroups.com
如要取消訂閱此群組,請寄電子郵件至 augtw-un...@googlegroups.com
如需更多選項,請造訪此群
組:http://groups.google.com.tw/group/augtw?hl=zh-TW?hl=zh-TW



--

Best regards

from Tom


nL lee

unread,
Mar 2, 2012, 12:07:11 AM3/2/12
to au...@googlegroups.com
hsu tom <cheris...@gmail.com> 於 2012年3月2日上午11:54 寫道:
var flashvars = {};
flashvars.xxx= "null";
flashvars.ooo = "null";
flashvars.kkk = "null";


我這是這樣透過SWFOBJECT傳值到SWF裡面的~這個模式在各瀏覽器都正常哩


感謝!~~  我在網路上有找到相關範例  可是不太會使用 , 有可參考的方向嗎 ?

hsu tom

unread,
Mar 2, 2012, 12:21:38 AM3/2/12
to au...@googlegroups.com
大致上是這樣~
var flashvars = {};
flashvars.kkk = "test";
flashvars.ooo = "true";
flashvars.xxx = "fail";

var params = {};

params.allowscriptaccess = "always";

params.allowfullscreen = "true";
params.wmode = "transparent"; 
var attributes = {};

attributes.wmode="transparent";

swfobject.embedSWF("xxx.swf", "videoDiv", "720", "480", "10.0.2", "playerProductInstall.swf", flashvars, params, attributes);
}
-----------------------------------------------------------------------------------------------------------------------------
Flex mode

var getValue_kkk:String = FlexGlobals.topLevelApplication.parameters["kkk"] ;
var getValue_ooo:String = FlexGlobals.topLevelApplication.parameters["ooo"] ;
var getValue_xxx:String = FlexGlobals.topLevelApplication.parameters["xxx"] ;


--
您收到此郵件,是因為您訂閱了 Google 網上論壇的「台灣 Adobe 使用者俱樂部 」群組。
如要在此群組張貼留言,請寄電子郵件至 au...@googlegroups.com
如要取消訂閱此群組,請寄電子郵件至 augtw-un...@googlegroups.com
如需更多選項,請造訪此群
組:http://groups.google.com.tw/group/augtw?hl=zh-TW?hl=zh-TW
Reply all
Reply to author
Forward
0 new messages