I have replied directly and explained further...

On Sun, Aug 22, 2010 at 8:06 AM, Sam Sherlock <[email protected]>wrote:

> You need to use a cache busting technique
>
> See Aran post here
>
> http://groups.google.com/group/swfobject/browse_thread/thread/c47b010b012f6f6/ef863408a957cb97?hl=en_US&lnk=gst&q=cache#ef863408a957cb97
>
>  - S
>
>
>
> On 22 August 2010 13:58, bluesman78 <[email protected]> wrote:
>
>> Hi
>>
>> I want to embed mp3 flash player on my website (PHP and SQL data with
>> musics).
>>
>> For now, I just test flash mp3 player. The playlist is xml
>> configurable with a file 'load.xml'.
>>
>> In the exemple : there are initially 4 songs in the load.xml file.
>>
>> When I start my test page ('embed_php.php') with wamp server (local)
>> the mp3 player display 4 songs. => ok
>>
>> Refresh problem : !!!!
>>
>> I modify load.xml file deleting for exemple 3 songs in it.
>> I should have now only 1 songs in the mp3 player when I refresh the
>> web page (F5 or after a php form with action = 'embed_php.php').
>> Actually I still have 4 songs in the mp3 player. => It is like there
>> is a refresh problem of the flash with javascript.
>>
>> But if I close the window webpage (embed_php.php) and if I open it
>> again (with wamp again) now I have the new playlist (1 song like in
>> the load.xml file)
>>
>> what is the matter ??
>>
>> is there someone who know how to refresh the playlist (without closing
>> and opening again the webpage ?)
>> Thanks in advance.
>>
>>
>>
>> Here is the code of the embed_php.php file :
>>
>> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://
>> www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
>> <!-- saved from url=(0014)about:internet -->
>> <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
>> <head>
>> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
>> <title>EMBED</title>
>> <!-- SWFObject embed by Geoff Stearns [email protected]
>> http://code.google.com/p/swfobject -->
>> <script type="text/javascript" src="swfobject.js"></script>
>> <style type="text/css">
>>
>>        body {
>>                background-color: #FFFFFF;
>>                font: .8em/1.3em verdana,arial,helvetica,sans-serif;
>>        }
>>
>>        #info {
>>                width: 300px;
>>                overflow: auto;
>>        }
>>
>> </style>
>> </head>
>> <body>
>>        <p> <a href="http://code.google.com/p/swfobject";>swfobject</a></p>
>>
>>    <div id="flashcontent">
>>
>>                <strong>You need to upgrade your Flash Player</strong>
>>                This is replaced by the Flash content.
>>                Place your alternate content here and users without the
>> Flash plugin
>> or with
>>                Javascript turned off will see this. Content here allows
>> you to
>> leave out <code>noscript</code>
>>                tags. Include a link to <a href="swfobject.html?
>> detectflash=false">bypass the detection</a> if you wish.
>>        </div>
>>
>>        <script type="text/javascript">
>>                // <![CDATA[
>>
>>                var so = new SWFObject("index.swf", "flashcontent", "358",
>> "357",
>> "9", "#FFFFFF");
>>                so.addVariable("xml_path","load/load.xml"); // this line is
>> adding
>> the path to the xml file make sure that is name is xml_path
>>                so.write("flashcontent");
>>
>>                // ]]>
>>        </script>
>>
>>    <script type="text/javascript">
>>                alert("HELLO");
>>        </script>
>> </body>
>>
>> </html>
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "SWFObject" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected]<swfobject%[email protected]>
>> .
>> For more options, visit this group at
>> http://groups.google.com/group/swfobject?hl=en.
>>
>>
>  --
> You received this message because you are subscribed to the Google Groups
> "SWFObject" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<swfobject%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/swfobject?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en.

Reply via email to