2010-04-03 3 views

답변

0

당신은 자동으로 SWF 파일을 포장 가젯을 생성합니다, 저장 한 후 HTML 편집 모드

<embed src="//example.com/filename.swf" 
    width="540" height="540" pluginspage="http://www.macromedia 
    .com/go/getflashplayer"></embed> 

년에 embed 탭을 사용할 수 있습니다. 견고성을 위해 https 프로토콜을 사용하고, 그렇지 않으면 콘텐츠가 표시되지 않을 수 있습니다.

0

당신은 나만의 가젯 http://example.com/gadget.xml을 만들 수 있습니다

<?xml version="1.0" encoding="UTF-8"?> 
<Module> 
    <ModulePrefs title="Demo" 
       author="You!" 
       author_email="[email protected]" 
       width="558" 
       height="558"> 
    <Require feature="flash"/> 
    </ModulePrefs> 
    <Content type="html"> 
    <![CDATA[ 
     <div id="flash-container" 
      style="text-align:center;height:558;border:0;padding:0;margin:0"> 
     Loading... 
     </div> 
     <script type="text/javascript"> 
     function showFlash() { 
      gadgets.flash.embedFlash(
      '//example.com/demo.swf', 'flash-container', 6 
     ); 
     } 

     gadgets.util.registerOnLoadHandler(showFlash); 
     </script> 
    ]]> 
    </Content> 
</Module> 

당신이 다음 메뉴, URL에 의해 를 통해 추가 할 수 있습니다 가제트.