0
如果您在Flash動畫的幀中指定錨點,則IE瀏覽器在播放地址欄時將更改地址欄中的散列值。使用閃光錨定導航禁用散列更改
http://example.com/ --> http://example.com/#start
是否有任何禁用僅使用HTML & JS這種導航方法?
如果您在Flash動畫的幀中指定錨點,則IE瀏覽器在播放地址欄時將更改地址欄中的散列值。使用閃光錨定導航禁用散列更改
http://example.com/ --> http://example.com/#start
是否有任何禁用僅使用HTML & JS這種導航方法?
只有在您使用「Flash with named anchors」HTML模板進行導出時,纔會有更改。它使用ExternalInterface調用來更改地址。從HTML頁面中刪除這些行:
<script language="JavaScript">
function flashGetHref() { return location.href; }
function flashPutHref(href) { location.href = href; }
function flashGetTitle() { return document.title; }
function flashPutTitle(title) { document.title = title; }
</script>
加上插入HTML代碼(<a name="...">
)命名錨,就不再是任何深層鏈接 - 除非應用程序使用SWFAddress,你可以簡單地從刪除JavaScript導入。