Prevent the browser to read cached Flash object

I have a slideshow Flash object which pics filename are
supplied by an .XML
file created dinamically every time the page loads.
Unfortunately the .SWF is always being read from cache even
though the .XML is changed
correctly. The Flash movie always shows the pictures loaded
at start of the application.
I am able to refresh the Flash movie if:
- I restart the application;
- I set the browser setting to check for newer version of
stored pages to "every time";
- after 5/10 minutes have elapsed from the last reloading
(couldn't find a real pattern here);
To prevent caching I have tried the following:
- Added a random number at the and of the URL that calls the
page (...&r=#rundomNumber()#)
- Added <META HTTP-EQUIV="Expires" CONTENT="Mon, 04 Dec
1999 21:29:02 GMT">
- Added <META HTTP-EQUIV="Pragma" CONTENT="no-cache">
- Added <META HTTP-EQUIV="Cache-Control"
CONTENT="no-cache">
in various combinations.
- Used <cfheader name="Expires"
value="#GetHttpTimeString(Now())#">
- Modified the param name="movie" to
<param name="movie"
value="Gallery.swf?id=#randomNumber()#" />
or to
<param name="movie"
value="Gallery.swf?id=#randomNumber()#&xmlPath=gallery.xml&id=#randomNumber()#"
/>
also
Opening the Gallery.fla with Flash 2004 in the Component
Inspector, parameter xml Path = gallery.xml changed to
"gallery.xml?id=1"
or
"gallery.xm?Math.round(Math.random() * 99999
all this to prevent the browser to read from cache and
download a fresh copy from the server, but to no avail.
Is there something else to be tried?
Thank you for helping.
ContiW

Click in your page where you want the SWF to go, then select
Insert > Media > Flash from the menu (or maybe Insert >
Flash ... DWMX goes back a way).
Charles Nadeau
Dreamweaver
Adobe Systems

Similar Messages

  • How to prevent the browser from executing the old version of js file...

    Dear sirs,
    I have a JSP page that includes a javascript file as given below,
    <script type="text/javascript" src="../scripts/validation.js"></script>
    Some times modification is needed in this included script file. After the modification, when I load the JSP page in the browser,
    the old copy of the script file, which was not modified is getting executed. by the browser.
    I would like to know whether any options are availabe in javascript to prevent the browser from executing the old copy that has already downloaded to the temperary interner folder(from caching)and use the modified version available with the new response...
    Thank you,
    Sudheesh K S

    Dear sir,
    Thakyou very much for your comment.
    I tried this, By doing thisThe .html page of the response will be deleted. But the javascript file will not be removed. It will be remail there.
    This lead me to the idea to think about javascript. I heard that some commands are there in javascript like cache ="NO" but not sure. I searched in the net but no favourable result found...
    Thank you,
    Sudheesh....

  • Incorporating the BROWSER back button in flash

    I have seen a new layout in Flash, where the browser's back
    button can be used to hit different pages that have been visited
    INSIDE the flash clip. So for ex, you go to a URL and its a full
    browser flash site, then click "news" and go to the news page. If
    you click back on the BROWSER, it takes you back to the main page
    of the flash site, not the last URL visited in the browser. Here is
    a good example:
    http://www.opcd.net/#/lomo_-_mr._wig/
    going back in the browser will take you to other visted image
    pages. Can somebody point me in the right direction to figure out
    how to incorporate this in my layouts?
    Pat

    Have a look at this article:
    http://www.adobe.com/devnet/flash/articles/deep_linking.html.
    It will probably answer your question.

  • Security setting is preventing the browser working. its an alert message

    Could not initialise the application's security component. The most probable cause is problems with files in your browser's profile directory. Please check that this directory has no read/write restrictions and your hard drive is not full or close to full. It is recommended that you exit the browser and fix the problem. If you continue to use this browser session, you might see incorrect browser behaviour when accessing security features.

    This link shows things to check - https://support.mozilla.com/kb/Could+not+initialize+the+browser+security+component

  • [solved] Get the browser playing videos without flash

    Hi there,
    on my favourite news site in the web (n-tv.de) there are also some videos available. Now I 'm trying to get rid of flash.
    Those videos are playable with vp8, which should be available in gstreamer0.10-good-plugins. I've tried it with both Firefox and Seamonkey. But I fail to play any video there.
    First I've tried it with gstreamer-1.4.5:
    gst-plugins-good
    gst-plugins-bad
    gst-plugins-ugly
    libvpx is also installed:
    extra/libvpx 1.3.0-1 [installed]
    The VP8 Codec SDK
    la /usr/lib/libvpx.so
    lrwxrwxrwx 1 root root 15 7. Dez 2013 /usr/lib/libvpx.so -> libvpx.so.1.3.0
    Then I've tried gstreamer-0.10:
    gstreamer0.10-good-plugins
    gstreamer0.10-bad-plugins
    But nothing. Firefox (and Seamonkey, Konquerer, …) still refuse to play any video.
    When I click on a video on n-tv.de, the site presents me a file dialogue to save a m3u8 file.
    Inside this file there are no urls:
    #EXTM3U
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=1210000
    w0930DeutscheBankBilanz_1501290932-1100k.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=345000
    w0930DeutscheBankBilanz_1501290932-314k.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=800000
    w0930DeutscheBankBilanz_1501290932-728k.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=52000
    w0930DeutscheBankBilanz_1501290932-48k.m3u8
    #EXT-X-STREAM-INF:PROGRAM-ID=1,BANDWIDTH=146000
    w0930DeutscheBankBilanz_1501290932-133k.m3u8
    Btw. Youtube works without problems. dailymotion.com refuses and wants to have flash installed. Firefox is version 35.0.1
    How do I get that stuff played?
    Last edited by musv (2015-02-09 06:34:28)

    Got it.
    Found a hint in the Arch-Wiki.
    Firefox uses webkit2gtk.
    pacman -Qi webkit2gtk
    Optionale Abhängigkeiten: gtk2: Netscape plugin support [Installiert]
    gst-plugins-base: free media decoding [Installiert]
    gst-plugins-good: media decoding [Installiert]
    gst-libav: nonfree media decoding [Installiert]
    The last one gst-libav wasn't installed. With gst-libav it's working as wanted.

  • Preventing remote url file reads in Flash

    We have a Flash application provided by a vendor. It reads its parameters from an xml file on our web server's file system. However, it can also be spoofed to read its parameters from an xml file sitting on another domain's web server. At first we thought crossdomain.xml might be able to fix this, but we've researched it and understand the purpose of crossdomain.xml. It won't solve this issue.
    Are there any ways of enforcing that a Flash application reads its input file only from the same server where the Flash application was served? Or is the recommendation just to initialize variables within the Flash app, not relying on an external file.
    Thanks for your help with this.

    Yes, the idea is that someone would force my swf to read an off-site xml input file, which would initialize some variables in my file. It was a defect detected by Whitehat, so I'm pretty sure it's plausible.

  • I do not have a "menu" anywhere in the browser to delete cache, choose options, or anything!

    nowhere in my browser can i find a "menu" button to do anything like clear my cache, edit settings, choose options....nothing at all!

    In Firefox 3.6 and later on Windows you can hide the "Menu Bar" via "View > Toolbars" or via the right-click context menu on a toolbar.
    Press F10 or press and hold the Alt key down to bring up the "Menu Bar" temporarily.
    Go to "View > Toolbars" or right-click the "Menu Bar" or press Alt+V T to select which toolbars to show or hide (click on an entry to toggle the state).
    See also:
    * [[Menu bar is missing]]
    * http://kb.mozillazine.org/Toolbar_customization

  • Having to Double-Click Flash Objects in Browser to use

    Hello,
    Has anyone else experienced the annoying Double-Clicking of
    Flash objects in your browser?
    In other words, a Flash object will load and play just fine
    in my browser, but I have to click it once to activate it then
    click again to use buttons.
    I'm assuming this might be a security setting for my browser,
    but I can't figure it out.
    Can anyone assist?

    Ok - you really just need to use the search function here -
    soon this thread will contain replies
    from everyone telling you to search first - because this is
    asked literally everyday and often
    several times per day - yet, it seems to be the least
    searched topic - just google it or search the
    forum - been asked and answered several times per day for
    months - not flaming, just trying to help
    because so often, questions have already been answered here
    many times and searching is just plain
    quicker.
    go here:
    http://groups.google.com/advanced_group_search?q=group:*flash*&hl=en&lr=&ie=UTF-8&oe=UTF-8
    (it is the google groups archive of this forum)
    and type in "active content"
    over 1600 returns.
    It is the reult of a Eolas vs Microsoft patent lawsuit that
    was top web/tech news just a couple
    months ago. Tons of resources on it - search google or
    adobe.com or microsoft.com.
    good luck
    --> **Adobe Certified Expert**
    --> www.mudbubble.com
    --> www.keyframer.com
    Wallpe70 wrote:
    > Hello,
    >
    > Has anyone else experienced the annoying Double-Clicking
    of Flash objects in
    > your browser?
    >
    > In other words, a Flash object will load and play just
    fine in my browser, but
    > I have to click it once to activate it then click again
    to use buttons.
    >
    > I'm assuming this might be a security setting for my
    browser, but I can't
    > figure it out.
    >
    > Can anyone assist?
    >

  • Image will not change on the Browser...Saving on the Tomcat Problem...HELP

    Hi,
    I worte a Servlet project using JBuilder 7 and TOmcat 4. THis is basically what i am doing...
    I am getting an image from database and saving it to a folder in tomcat and then displaying it on a browser.
    This application is used by multiple users...
    I am saving the Image in Tom-cat...C:\JBuilder7\jakarta-tomcat-4.0.3\webapps\examples\Image1.jpeg
    I am also displaying the image from that folder. The problem is when i run the application,
    I am seeing the same Image on the screen..Its creating the different Image file, but the image is the same.
    If i do a refresh on the page then it displays the new saved Image...
    Also, If i save the image on my local and then display it from my local it changes the images as I
    click on a Image list...
    Following is how it works when i save it and display it from my local, but if i run my application from
    another computer i am not able to see any of the images....Because its on my local.
         fos = new FileOutputStream("C:/Image1.jpeg");
         <img src="file:///C|/Image1.jpeg" height="855" name="myimage" align="middle" style="position:absolute;">;
    And this is how i am doing when i am saving to the tomcat....I am able to display it on another computer
    but would not change the image...
    fos = new FileOutputStream("../webapps/examples/Image1.jpeg");
    <img src="../Image1.jpeg" height="855" name="myimage" align="middle" style="position:absolute;">;
    Can some one please tell me what could be the Problem....
    Any help will be greatly appreciated....Thanks...

    The browser caches images so that it doesn't have to always download the same image for different pages.
    You could:
    1: Save the new image with a different name and dynamically change the name in the html.
    2: Try setting the response headers to prevent the browser from caching the images.
    response.setHeader("Pragma", "no-cache");
    response.setHeader("Cache-Control", "no-cache");
    response.setDateHeader("Expires", 0);

  • The browser's back button doesn't work for portlet navigation

    I developed a simple portlet that uses webflow navigation to navigate within a
    portlet. I made this portlet visible on a portal's home page. When I view my
    main portal page, the URL is "http://localhost:7501/samplePortal/index.jsp "
    In this page I can see my portlet. When I click on a link inside of the portlet,
    it takes me to the page I want. Then, when I click the browser's back button
    to go back to the previous page(main portal page), it doesn't work. The URL changes
    back to "http://localhost:7501/samplePortal/index.jsp", but portlet itself doesn't
    take me to the previous page. Anybody have any ideas? I am guessing it's because
    the wfevent is null, but how do I resolve this problem?

    Hi Jay,
    I was able to get the back button to work for portals by commenting out the following
    lines in the portal.jsp:
    // prevent caching these pages at clients.
    // response.setHeader("Cache-Control", "no-cache"); // HTTP 1.1
    // response.setHeader("Pragma", "no-cache"); // HTTP 1.0
    // response.setDateHeader("Expires", 0); // prevents caching at proxy
    I also made sure my browser was set to allow the caching of pages.
    You are having problems, because we set the response headers to tell the browser
    to not cache the portal pages, and the portlet state has not changed back to it's
    original state.
    -John Bimson
    "Jay" <[email protected]> wrote:
    >
    I developed a simple portlet that uses webflow navigation to navigate
    within a
    portlet. I made this portlet visible on a portal's home page. When
    I view my
    main portal page, the URL is "http://localhost:7501/samplePortal/index.jsp
    In this page I can see my portlet. When I click on a link inside of
    the portlet,
    it takes me to the page I want. Then, when I click the browser's back
    button
    to go back to the previous page(main portal page), it doesn't work.
    The URL changes
    back to "http://localhost:7501/samplePortal/index.jsp", but portlet itself
    doesn't
    take me to the previous page. Anybody have any ideas? I am guessing
    it's because
    the wfevent is null, but how do I resolve this problem?

  • Shockwave Flash Object add on causes websites to freeze, asks to recover webpage

    Hi there
    I am experiencing issues with browsing websites with Shockwave Flash Object add-on for IE11 enabled.
    I have a Remote Desktop server (2008R2 sp1) with 50 users. When enabled, browsing to websites becomes almost impossible - the sites i browse lock up and a message appears saying the webpage needs to be recovered.
    I have found a work around - enabling ActiveX Filtering, however, it is annoying having to add pages to the exceptions list for ActiveX filtering each time I hit a page that requires activex controls.
    I have attempted to uninstall/reinstall Flash, upgrading to latest version, and even downgrading to previous versions, all without success.
    I have tried resetting IE settings, and gone to the extent of creating additional users to test, however, no matter what I have tried the issue is still present.
    Are there any other options I can try to help resolve this issue?
    Warm regards,
    EsDood5793

    Is nobody able to assist me at all?

  • Flash object border

    How do I make the border=1 for this Flash object:
    http://ltcproduction.com/Home_creative.html
    <script language="javascript">
    if (AC_FL_RunContent == 0) {
    alert("This page requires AC_RunActiveContent.js.");
    } else {
    AC_FL_RunContent( 'codebase','
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0','widt h','480','height','230','id','prod','align','middle','src','prodbkg','loop','false','quali ty','high','wmode','transparent','bgcolor','#ffffff','name','prod','allowscriptaccess','sa meDomain','allowfullscreen','false','pluginspage','http://www.macromedia.com/go/getflashpl ayer','movie','prodbkg'
    ); //end AC code
    </script>
    <noscript>
    <object
    classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" border="1"
    codebase="
    http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=9,0,0,0"
    width="480" height="230" id="prod" align="middle">
    <param name="allowScriptAccess" value="sameDomain" />
    <param name="allowFullScreen" value="false" />
    <param name="movie" value="prodbkg.swf" />
    <param name="quality" value="high" />
    <param name="wmode" value="transparent" />
    <param name="bgcolor" value="#ffffff" /><param
    name="LOOP" value="false">
    <embed src="prodbkg.swf" width="480" height="230"
    loop="false" align="middle" quality="high" wmode="transparent"
    bgcolor="#ffffff" name="prod" allowscriptaccess="sameDomain"
    allowfullscreen="false" type="application/x-shockwave-flash"
    pluginspage="
    http://www.macromedia.com/go/getflashplayer"
    />
    </object>
    </noscript>

    Is there a way to do this using a JAVA called from Flash?
    Just found one site today which gave me a pop-up window with this
    look, however, this one had java in it!

  • Capture onclick event on flash object using javascript

    May the admins forgive me if this is in the wrong forum.
    How to capture the onclick event on a web page when the click
    happens on an embedded flash object?
    You can't. At least not in IE. For some arcane reason either
    microsofts developers or the flash guys decided to overrule the DOM
    in IE.
    So the onclick event is never fired, in any browsers, when
    the user clicks an embedded flash object like this:
    However there's a workaround. Add the wmode="transparent"
    parameter. This make the onclick event okay in Firefox, but still
    not IE - where the flash movie is transparent the click event
    fires, but only those places.
    Instead use the onmousedown and onmouseup events which fires
    anywhere on the flash.

    >
    I tried each of the following in the the Element HTML Form Element Attributes for the File Browse item:
    onClick=javascript:alert(this.value);
    onClick=javascript:popupURL('http://www.google.com');
    onFocus=javascript:alert(this.value);
    onChange=javascript:alert(this.value);And what happened?
    [A few points on good practice:
    1. In the XHTML normally used in APEX 4.0 mark-up, all XHTML, including attribute/event handler names, should be in lower case: <tt>onclick</tt>, <tt>onfocus</tt>, <tt>onchange</tt>...
    2. Attribute values should always be quoted.
    3. The <a href="http://crisp.tweakblogs.net/blog/313/the-useless-javascript-pseudo-protocol.html">"javascript:" pseudo-protocol is evil</a>. There are a few places in APEX where we may have to resort to using it as URL is all we're offered to work with, but it's always better to use an event handler of some kind, either inline or (better) registered dynamically at runtime following the principles of <a href="http://en.wikipedia.org/wiki/Unobtrusive_JavaScript">unobtrusive JavaScript</a>. +It absolutely should not be used in inline event handlers.+
    So:
    {code}
    onclick="alert(this.value);"
    etc

  • I have Firefox 3.6.13 with Firefox for Yahoo 1.7 on Win XP and when I close the browser window, I can't open it again without using Task Manager to close firefox.exe any suggestions?

    This started when I first set started using Yahoo Messenger. It appears to me that Yahoo messenger is keeping the application firefox.exe open in the background and this prevents the browser from opening. The only thing I can't understand is why the broser will open the first time with Yahoo Messenger running.

    See "Hang at exit":
    *http://kb.mozillazine.org/Firefox_hangs
    *https://support.mozilla.com/kb/Firefox+hangs

  • Title of the browser displaying a report output through web.show_document

    Hiya
    We are using Oracle Forms 10g 10.1.2.0.2
    All our Forms and Reports are working well.
    We are using Java Script in Web.Show_Document so that when the report is displayed on the screen in the browser, the browser's toolbar and menubar should not be visible.
    The code looks like this:
    v_url_in := 'reports/rwservlet' || '/getjobid' || v_job_id || '?server='|| 'my_rep_server';
    v_url_out := 'javascript:window.open("'||v_url_in||'", " ", "toolbar=no,menubar=no");self.close();';
    Web.Show_Document (v_url_out, '_blank');
    The above code is working absolutely fine. No issues about this.
    Now when the report opens in a new browser window,the title of the browser window reads as follows:
    http://<hostname>:8889/reports/rwservlet/getjobid1234?server=my_rep_server - Microsoft Internet Explorer
    So rather than displaying the title of the browser window as the URL of our Application Server, we want to show the title to Reports name so that it
    reads as
    'Customer Sales Summary Report - Microsoft Internet Explorer'.
    Does anyone has any idea if it is possible to change the title of the browser window, if so, how ?
    Cheers
    Mayur

    Mayur,
    I'm not a web developer either, however, I've done this kind of thing using the HTP database package - as I mentioned. What you could do is write a database procedure that accepts the URL and the Title as parameters and let the procedure open the URL for you. For example:
    CREATE OR REPLACE PROCEDURE show_url(p_url VARCHAR2, p_title varchar2) AS
    BEGIN
       htp.htmlOpen;
       htp.headOpen;
       htp.htitle(p_title);
       htp.headClose;
       htp.bodyOpen( cattributes => 'onLoad="WinOpen()"');
       htp.bodyOpen;
       htp.script(clanguage => 'javascript',
                    cscript => '<!--
                                function WinOpen() { open("'||p_url||'","_self");
                                //-->'
       htp.bodyClose;
       htp.htmlClose;
    END;I was unable to test this procedure on my Oracle XE install, but it should work on a non-XE database.
    Hope this helps.
    Craig...
    -- If my response or the response of another is helpful or answers your question, please mark the response accordingly. Thanks!

Maybe you are looking for