2009-09-04 10 views
0

FlashムービーにSWFAddressを実装していますが、ナビゲーションでリンクを正しく設定しているときに、特定のURLを入力すると、ブラウザと通信していないようですすべて。聞き手がいないのですか?私のナビゲーションクラスにSWFAddress 2.2が特定のURLに応答していません

http://client.deicreative.com/test/TBB/

このクラス会談:

import SWFAddress.as; 

class code.RunSWFAddress { 

public function RunSWFAddress(){ 
    init(); 
} 
private function init() { 
    var scope = this; 

    SWFAddress.setStrict(false); 
    SWFAddress.onChange = function() { 
     var value = SWFAddress.getValue(); 
     var path = SWFAddress.getPath(); 
     var id = SWFAddress.getParameter('id'); 
     if (code.PageContent.getInstance().xmlVar1.getBytesLoaded() == code.PageContent.getInstance().xmlVar1.getBytesTotal()){ 

      if(SWFAddress.getValue() == '/' || SWFAddress.getValue() == '') { 
       code.Navigation.getInstance().showPage(0); 

      } else { 
       for(var i:Number = 0; i<code.Startup.getInstance().numPages; i++){ 
        if(SWFAddress.getValue() == code.Startup.getInstance().page_arr[i][0]){ 

         code.Navigation.getInstance().showPage(i); 
        } 
       } 
      } 
     } 
     var title = 'The Broadway Building';  
     var names = SWFAddress.getPathNames(); 
     for (var i = 0; i < names.length; i++) { 
      title += ' | ' + names[i].substr(0,1).toUpperCase() + names[i].substr(1); 
     } 
     var id = SWFAddress.getParameter('id'); 
     if (id != '') { 
      title += ' | ' + id; 
     } 
     SWFAddress.setTitle(title); 
    } 

} 

} 

答えて

0

私はswfobject埋め込みのid属性がありませんでした。今すぐご利用ください! :)

関連する問題