我使用一个主SWF文件,它有一些动画。它使用来自指定几个项目的.php文件的XML。图像和其他SWF将在主SWF中使用。本地一切都完美,但通过我的家庭服务器或托管服务提供商调用它时,它不再工作,我不明白为什么。所有链接都是相对的和正确的。主SWF无法完全加载,或者与.php文件中的XML存在问题。我不确定,现在只有一个黑盒子没有显示任何其他应有的内容。 检查出来:http://deoshermes.ath.cx/cc-common/templates/dynamiclead/dynamic_leadee.swfSWF(使用XML)只能在本地工作,不能在家庭服务器或网络托管服务器上
的XML:
<?xml version="1.0" ?><dynamic_content>
<item
blurb="Text 1"
content_url=""
content_source=""
content_timer="8000"
content_target="_self"
tab_color="0x000000"
tab_border_color="0x000000"
tab_arrow_color="0xFFFFFF"
tab_text_color="0xFFFFFF"
tab_image="/template/images/dle_TOPmay06.jpg"
cycle="true"
content_border_color="0x"
content_bg_image=""
tab_hl_color="0x000000"
tab_highlight_color="0x"
tab_highlight_text_color="0x"
tab_highlight_image="" >
</item>
<item blurb="Text 2"
content_timer="5000"
cycle="true"
content_border_color="0x"
content_bg_image=""
tab_hl_color="0xFFFFFF"
tab_border_color="0xFFFFFF"
tab_color="0xFFFFFF"
tab_arrow_color="0xFFFFFF"
tab_text_color="0xFFFFFF"
tab_image="/template/images/dle_MIDandBOTmay06.jpg"
tab_highlight_color="0x"
tab_highlight_text_color="0x"
tab_highlight_image=""
content_url=""
content_source=""
content_target="_self" >
</item>
<item blurb="Text 3"
content_timer="5000"
cycle="true"
content_border_color="0x"
content_bg_image=""
tab_hl_color="0xFFFFFF"
tab_border_color="0xFFFFFF"
tab_color="0xFFFFFF"
tab_arrow_color="0xFFFFFF"
tab_text_color="0xFFFFFF"
tab_image="/template/images/dle_MIDandBOTmay06.jpg"
tab_highlight_color="0x"
tab_highlight_text_color="0x"
tab_highlight_image=""
content_url=""
content_source=""
content_target="_self" >
</item>
</dynamic_content>
这个本地调用主SWF时就像一个魅力。 来自主sWF的ActionScript可以在与上面相同的域中找到/ Actionscript_mainmovie.txt
这似乎也很好。函数formattabs(第68行)使用了一些javascript。本地主SWF的功能,即使没有这个hbx文件,它位于 /cc-common/wss/hbx.js并在网页中实际使用。 我还没有弄清楚什么让主SWF无法正常工作,因为所有其他单个SWF在使用直接链接调用时都能正常工作。而这只是不工作...我可能需要添加一些在php.ini文件? 任何帮助,将不胜感激!