2009-09-04 3 views
0

SWFAddress를 Flash 무비에 구현하고 있으며 내비게이션이 링크를 올바르게 설정하고 있지만 특정 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 속성이 누락되었다. 이제 작동! :)

관련 문제