如何在资源管理器中刷新Flash文件 [英] How to refresh a flash file in the explorer

查看:82
本文介绍了如何在资源管理器中刷新Flash文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好,

简介:
我有一个小的闪光灯,它显示了一个图库,顶部有一些文本,底部有一些缩略图.图片的数量和图片的相关文本是使用xml文件指定的.

Flash文件会自动加载XML文件,PHP中没有任何东西可以加载XML文件.(似乎Flash文件正在查找其名称为xml的文件等同于SWF文件,但等同于XML.(
)
因此,XML文件如下所示:

Hello all,

Introduction:
I''ve got a small flash that shows a picture gallery with some text on top and some thumbnails at bottom; the amount of pictures and the picture''s related text is specified using a xml file.

The flash file automatically loads the XML file, I don''t have anything in the PHP to load the XML file. (It seems that the flash file looks for a xml file that it''s named equally than the SWF file but as XML (of course).

So the XML file looks like:

<my super flash configuration>
  <picture1 file="aaa1.png" text="super picture 1!">
  <picture2 file="aaa2.png" text="super picture 2!">
  <picture3 file="aaa3.png" text="super picture 3!">
  <picture4 file="aaa4.png" text="super picture 4!">
</my super flash configuration>



结果应该是4张幻灯片的幻灯片显示(从aaa1到aaa4,带有文本"super picture Y!"(其中Y从1到4).

有什么问题:
我遇到的问题是当我更改XML文件的内容 网页上显示的Flash幻灯片没有改变时,我想知道如何使其重新加载...我按了Ctrl + F5,F5组合键,似乎没有任何作用...

附加说明:


  • 我正在使用IE9 ...

  • 按照一些Internet指令,我尝试将参数传递给Flash文件,以查看它是否刷新了内容...运气不好...

  • 如果我清除IE缓存,那么它将起作用...


  • The result of that should be a slideshow of 4 picures (from aaa1 to aaa4 with the texts "super picture Y!" (where Y goes from 1 to 4).

    What is the problem:
    The problem I''m getting is that when I change the contents of the XML file the flash slideshow shown on the web page is not changing and I would like to know how to make it to reload... I''ve pressed Ctrl+F5, F5 and nothing seems to work...

    Additional notes:


    • I''m using IE9...

    • Following some Internet instructions I''ve tried to pass a parameter to the flash file to see if it refreshes the content... No luck with that...

    • If I clear the IE cache then it works...
    • 推荐答案

      尝试使用外部回调函数并从Javascript访问该函数以刷新屏幕
      Try to Use External callback function and access it from Javascript to refresh the screen


      这篇关于如何在资源管理器中刷新Flash文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆