Cache problem question. What am I doing wrong?

index.html page has ENTER button that leads to content.html.
Content.html holds > content.swf.  I will be updating the content.swf file regularly so want content.html to always display latest content.swf file.
Btw content.html is just a blank page whose only purpose is to hold content.swf.
From another thread I got the following code. This apparently should always load latest content.swf. No?
<param name="movie" value="master.swf?blarg="+new Date().getTime());"/>
and also in the <embed.....
Adninjastrator
I tried it but I did not succeed. Could you see if I am applying it correctly? The code on content.html page for loading content.swf looks like this-
<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="content" height="768" width="930" align="middle">
<param name="movie" value="content.swf?blarg="+new Date().getTime());"/>
<param name="quality" value="best">
<param name="bgcolor" value="#333333">
<param name="play" value="true">
<param name="loop" value="true">
<param name="wmode" value="window">
<param name="scale" value="noscale">
<param name="menu" value="false">
<param name="devicefont" value="false">
<param name="salign" value="">
<param name="allowScriptAccess" value="sameDomain">
<!--[if !IE]>-->
<object type="application/x-shockwave-flash" data="content.swf?blarg="+new Date().getTime()); " height="768" width="930">
<param name="movie" value="content.swf?blarg="+new Date().getTime());"/>
<param name="quality" value="best">
<param name="bgcolor" value="#333333">
<param name="play" value="true">
<param name="loop" value="true">
<param name="wmode" value="window">
<param name="scale" value="noscale">
<param name="menu" value="false">
<param name="devicefont" value="false">
<param name="salign" value="">
<param name="allowScriptAccess" value="sameDomain">
<!--<![endif]-->
<a href="http://www.adobe.com/go/getflash">
<img src="content_files/get_flash_player.gif" alt="Get Adobe Flash player">
</a>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
</object>

YESSSSSSSSSSSSSS! Got it working with bit of extra Googling! It's updating 100% of the time on all browsers :-) Takes the latest content.swf from the server like a champion.
I put a myscript.php file with the following code-
<?php
header('Content-type: application/x-shockwave-flash');
header('Expires: Thu, 01 Jan 1970 00:00:00 GMT, -1');
header('Cache-Control: no-cache, no-store, must-revalidate');
header('Pragma: no-cache');
echo file_get_contents('content.swf');
?>
Then my content.html code to load content.swf looks like this-
    <body>
        <div id="flashContent">
            <object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" id="content" height="768" width="930" align="middle">
                <param name="movie" value="myscript.php">
                <param name="quality" value="best">
                <param name="bgcolor" value="#333333">
                <param name="play" value="true">
                <param name="loop" value="true">
                <param name="wmode" value="window">
                <param name="scale" value="noscale">
                <param name="menu" value="false">
                <param name="devicefont" value="false">
                <param name="salign" value="">
                <param name="allowScriptAccess" value="sameDomain">
                <!--[if !IE]>-->
                <object type="application/x-shockwave-flash" data="content.swf" height="768" width="930">
                    <param name="movie" value="myscript.php">
                    <param name="quality" value="best">
                    <param name="bgcolor" value="#333333">
                    <param name="play" value="true">
                    <param name="loop" value="true">
                    <param name="wmode" value="window">
                    <param name="scale" value="noscale">
                    <param name="menu" value="false">
                    <param name="devicefont" value="false">
                    <param name="salign" value="">
                    <param name="allowScriptAccess" value="sameDomain">
                <!--<![endif]-->
                    <a href="http://www.adobe.com/go/getflash">
                        <img src="get_flash_player.gif" alt="Get Adobe Flash player">
                    </a>
                <!--[if !IE]>-->
                </object>
                <!--<![endif]-->
            </object>
        </div>
</body></html>
I HAVE A SIDE QUESTION?
I just noticed my code (that was generated originally by Flash CS5.5 publish setting) does not have any
<embed src=
code tag?
Why is that and is my above code good enough? Also why do I have simialr code twice? The second one starting with <!--[if !IE]>-->

Similar Messages

  • I have been trying to update my software for the past 3 hours. It just goes so far and stalls. I've never had this problem before, what am I doing wrong?

    I have been trying to update my iPad2 for the past 3 hours. It just sets there doing very little and says its going to take 9 hours.  What am I doing wrong?  I've never had this problem before.  Also can I update from any other computer? Just in case it is my lap top.

    Do you get any error messages ? If you get a network timeout error when downloading the update then try temporarily turning off all your firewall and antivirus software until the download has completed.
    It's best to only update via your own computer, otherwise you risk losing all your iPad's contents - updating to iOS 5 wipes the iPad and then restores your backup. If you having problems downloading the update then you could try downloading the update file via a browser on another computer and then copying that file to your laptop for the actual update .

  • N97 WiFi question what am i doing wrong ?

    ok i got the phone the other day and i am using a few different access points like for example in my house in my work other restaurants and so on ... when i connect to a different one the main screen doesnt update and its looking for an old network even though i have connected to a new one cant it just look at the one i have connected insted it just disconnects me from the one i am on now and is sais WLAN already in use? am i doing something wrong when i am connecting 2 different networks or is the phone just lame???? and yes i have arranged priorities and what not .....

    thw main screen will try to connect to the network which you set it to ( if you choose a specific network ). You should always set you widgets to connect to the default connection which will be the one you are currently connected too based on you manual connection or priority list connections

  • HT2486 birthday are not saving in my contacts? What am I doing wrong.  I always have put in birthday before with no problems

    Birthday are not saving in some of my contacts? What am I doing wrong.  I always have put in birthday before with no problems.  Some contacts it works and others do not?  help me.

    Arnis and Jeff,
    Thank you both very much for your assistance.  I was able to figure out why the Adobe Application Manager kept failing on installing the patches.  Idiot me didn't unzip them first.  Once I unzipped the patch files, the installer worked fine.  Both patches are now successfully installed; my FM version is now 12.0.2..
    To answer some of your questions:
    Yes, I have administrator privileges on my PC.
    Yes, I had all of the files in the book opened when I generated and/or updated the LOR file.  So that was not the issue.
    With the patches installed, I opened a book and all of its files.  I updated the LOR and all works fine – it gives me all of the Imported Graphic references. So there must have been an issue with that release of FM12 (12.0.0.329), which was fixed with the patches.
    Again, thank you both for your help!
    Best regards,
    Beverly

  • I am trying to save a photoshop CS6 psd file to jpg and get an option jpg, jpg2000 or jpg stereo, I choose jpg and then Mac 256 colours, normal or interlaced.  I just want regular jpg with a high resolution.  What am I doing wrong, never had this problem

    I am trying to save a photoshop CS6 psd file to jpg and get an option jpg, jpg2000 or jpg stereo, I choose jpg and then Mac 256 colours, normal or interlaced.  I just want regular jpg with a high resolution.  What am I doing wrong?  , never had this problem before.  Help!!! 

    Your description of the issue is not clear:
    What format, bit depth and color was your original file "from the net"?  It sounds like it was a Color Indexed GIF, which would cause what you are describing.
    In the Macintosh Finder, select said "net image" and do a Get Info on it (Command+i). When the Info box appears in the Finder, take a screen shot and upload it here by using the little camera icon in the Reply Editor in the forum's web interface.
    If the image is a 256-color GIF, remember the rule:  GIGO = garbage in, garbage out.

  • I am unable to save my revised iTunes security question.  What am I doing wrong?

    I originally setup up the account for my daughters Ipod and now I don't remember the answers to the Security questions for Itunes.  I try to reset them and fill in new answers to new questions but everytime I do and click save, the screen appears to take my changes, but when I click a different category a window asks me if I would like to save changes or disregard changes I have made.  I click save and log out.  Then I open the App store on my Macbook pro, and attempt to make my 1st purchase, I am then asked to answer old security questions.  What am I doing wrong?

    Alternatives for Help Resetting Security Questions and/or Rescue Mail
         1. If you have a valid rescue email address, then use this procedure:
             Rescue email address and how to reset Apple ID security questions.
         2. Fill out and submit this form. Select the topic, Account Security. You must
             have a Rescue Email to use this option.
         3. This is the only option if you do not already have a valid Rescue Email.
             These are telephone numbers for contacting Apple Support in your country.
             Apple ID- Contacting Apple for help with Apple ID account security. Select
             the appropriate country and call. Ask to speak to the Account Security Team.
         4. Account security issues almost always require you to speak directly to an
             Apple representative to securely establish your identity as the account holder.
             You can set it up so that Apple calls you, either immediately or at a time
             convenient to you.
                1. Go to www.apple.com/support.
                2. Choose Contact Support and click Contact Us.
                3. Choose Other Apple ID Topics and choose the appropriate topic for
                    your issue.
                4. Follow the onscreen instructions.
             Note: If you have already forgotten your security questions, then you cannot
             set up a rescue email address in order to reset them. You must set up
             the rescue email address beforehand.
    Your Apple ID: Manage My Apple ID.
                            Apple ID- All about Apple ID security questions.

  • I am trying to download the iTunes 10.7 update so that i can update my ipod and just before the final part of the download starts the program stops and says, 'The installer enountered problems before iTunes could be configured'    What a i doing wrong?!

    I am trying to download the iTunes 10.7 so that i can update my ipod. Just before the final part f the download starts the program stops and says, 'The installer encountered problems before iTunes could be configured'
    What am I doing wrong?!

    I am trying to download the iTunes 10.7 so that i can update my ipod. Just before the final part f the download starts the program stops and says, 'The installer encountered problems before iTunes could be configured'
    What am I doing wrong?!

  • When I connect my iPad with usb to my mac the iPad gives me a "blinking" message asking to trust the computer.  Problem is it does not give me enough time to select yes.  What am I doing wrong?  Help!

    When I connect my iPad with usb to my mac the iPad gives me a "blinking" message asking to trust the computer.  Problem is it does not give me enough time to select yes.  What am I doing wrong?  Help!

    Everything that you sync to the iPad is done through iTunes or from downloading from the cloud if they are iTunes purchases or through iTunes Match, if subscribed.
    It is also not possible to transfer music or certain other files though Bluetooth between other iPhones or Android devices. You can transfer between iOS devices, pictures through devices that are Airdrop capable.

  • What am I doing wrong. I have problem with operators

    I have problem with following code. I am trying to use the operators in the array but I can't make it work.
    The result of the program commes up:
    58
    60
    57
    The correct result should be:
    15
    -5
    50
    What am I doing wrong?
    class Operators{
         public void operators (){              
              char [] operator = {'+','-','*'};
              int a = 5;
              int b = 10;
              for (int i=0; i<3;i++){              
                   int c = a+operator[i]+b;
                   System.out.println(c);          
         public static void main (String[] args){
    Operators op = new Operators();
    op.operators();

    Sorry to confuse you. When I have posted the first message I tried to simplify the problem. By doing this thought that I could figure out the rest of the problem by myself. But instead of getting answers I got more confused. What I am trying to do am:
    To take six or more numbers and put operators between numbers and display the result. I need to display the results for all possible operator combinations between the numbers.
    For example if I take six numbers 10,20,30,40,50,60 and I put the arithmetic operators in between the numbers I would like to create all possible results operator combinations and what the result would be.
    10+20+30+40+50+60 = 210
    10+20+30+40+50-60 = 90
    10+20+30+40+50*60 = 3150

  • What am I doing wrong with this filter (counter/frequency issue), probably another newb question.

    I extracted the part of my VI that applies here.  I have a 6602 DAQ board reading a counter for frequency, using a Cherry Corp proximity sensor.  Getting a lot of noise and errant ridiculously high readings.  Speed of shaft which it's measuring is currently 2400rpm with one pulse per revolution so 40hz. 
    Trying to use the express filter VI to clean up the signal and ignore anything over, say, 45hz and under 35hz.  No matter what setting I choose I continually get the  20020 error, Analysis:  The cut-off frequency, fc, must meet:  0 <= fc <= fs/2.  I know this relates to sample period somehow, but for the life of me I can't understand what I'm doing wrong. 
    I used this VI without filtering on bench tests with a hand-drill and got perfect output every time.  Now it's on the machine and being erratic.  Any help here will ease my stress level significantly, thanks.
    VI attached
    Still confused after 8 years.
    Attachments:
    RPM.vi ‏92 KB

    Hello Ralph,
    I'm not sure about mounting your sensor to your rig, but I can provide a couple ideas about the filtering. Depending on the type of noise, the digital filters on the PCI-6602 could help eliminate the behavior you are seeing. If the noise manifests as a "glitches" or a bouncing signal, you could use another counter with a minimum period to help eliminate the noise. This concept is discussed in greater detail in this KnowledgeBase. I noticed that you are using NI-DAQmx; the practical application of the digital filters on the PCI-6602 in NI-DAQmx is discussed in this KnowledgeBase. A more detailed description of the behavior of these filters is provided in the NI-DAQmx Help (Start>>All Programs>>National Instruments>>NI-DAQ) in the book entitled "Digital Filtering Considerations for TIO-Based Devices".
    I also wanted to comment on your original post and explain why you were receiving error -20020. For convenience, I have copied the text of the error code below.
    Error -20020 occurred at an unidentified location
    Possible reason(s):
    Analysis:  The cut-off frequency, fc, must meet:  0 <= fc <= fs/2.
    I think you may have misunderstood exactly what the Filter express VI does. The Filter express VI takes a series of values in a waveform and performs filtering on those signals. So, it will look at a waveform made up of X and Y values and apply the defined filter to this waveform. Specifically in your application, the cut-off frequency (fc) is the Upper Cut-Off level that you specified in the Filter express VI; any frequency components of the waveform outside of the range you have defined will be filtered. The fs is the sample rate based on the data that you wire to the Signal input of the Filter express VI. In your VI, this data is coming from the DAQ Assistant. So, fs will be the sample rate of the DAQ Assistant and is associated with the rate at which points are acquired. The sample rate does NOT relate to the bandwidth of the signal, except that the Nyquist theorem tells us that the sample rate must be at least twice the signal bandwidth in order to determine periodicity of the signal. So, in this case, the sample rate of the DAQ Assistant would need to be at least double the high cut-off frequency.
    However, you are performing a frequency measurement using a counter. I think this is where the confusion comes in. For the frequency measurement using a counter, the DAQ Assistant returns a decimal value which represents the rate of the pulse train being measured by the counter. It does not return the actual waveform that is being read by the counter. It is this waveform that would be band-pass filtered to eliminate frequency content outside of the filter's bandwidth. Instead of the Filter express VI, I would recommend that you simply discard values that are outside the range you specify. I have modified the code you posted earlier to perform this operation. The image below shows the changes that I made; rather than using the Filter express VI, I simply compare the frequency to the "Low Threshold" and "High Threshold". I use a Case structure to display the value on if it is within the limits. Otherwise, I display a "NaN" value. I have also attached the modified VI to this post.
    Message Edited by Matt A on 09-04-2007 07:58 PM
    Matt Anderson
    Hardware Services Marketing Manager
    National Instruments
    Attachments:
    RPM (Modified).JPG ‏17 KB
    RPM (modified).vi ‏72 KB

  • Audio sync problems with greenscreen  I have replaced the camera audio with my zoom recorder audio and it is in sync. When I apply greenscreen the audio goes out of sync. What am i doing wrong?? So frustrating..Thanks, Peter

    I have replaced the DSLR audio with audio from my Marantz recorder and it is in sync with the dialogue. I apply green screen and the audio goes out of sync. Cannot seem to make it work. what am I doing wrong? Thanks, Peter

    Thanks for the reply. I don't have time for this. is it time to switch to a different editor?

  • Iphoto.  When I play an album "slideshow" some photos show up as a blank/black screen.  Please help if you know what I am doing wrong.

    Iphoto Question
    When I playing a "slideshow" album, a few photos show up as a blank screen.  Also, when I select a photo in an album to make it full screen - some photos won't "hold" - they go full screen for about a second, then the screen goes blank.  Any ideas about what I am doing wrong?  Thank you.

    There are several possible causes for the Black Screen issue
    1. Permissions in the Library: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild. Include the option to check and repair permissions.
    2. Minor Database corruption: Back Up and try rebuild the library: hold down the command and option (or alt) keys while launching iPhoto. Use the resulting dialogue to rebuild.
    3. A Damaged Photo: Select one of the affected photos in the iPhoto Window and right click on it. From the resulting menu select 'Show File (or 'Show Original File' if that's available). (On iPhoto 11 this option is under the File -> Reveal in Finder.) Will the file open in Preview? If not then the file is damaged. Time to restore from your back up.
    4. A corrupted iPhoto Cache: Trash the com.apple.iPhoto folder from HD/Users/Your Name/ Library/ Caches...
    5. A corrupted preference file: Trash the com.apple.iPhoto.plist file from the HD/Users/ Your Name / library / preferences folder. (Remember you'll need to reset your User options afterwards. These include minor settings like the window colour and so on. Note: If you've moved your library you'll need to point iPhoto at it again.)
    If none of these help: As a Test:
    Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Create Library'
    Import a few pics into this new, blank library. Is the Problem repeated there?

  • I am using Firefox 3.6.13 and have installed Windows Media Player 1.0.0.8 for Firefox. However, if I attempt to open a file with a .wmv extension it appears to function properly, except, that I cannot "play" the file. What am I doing wrong?

    # Question
    I am using Firefox 3.6.13 and have installed Windows Media Player 1.0.0.8 for Firefox. However, if I attempt to open a file with a .wmv extension it appears to function properly, except, that I cannot "play" the file. What am I doing wrong?

    You probably have not seen anyone reporting the exact same problem as you. All three crash reports have the same crash signature and as currently ranked 67 it is not the commonest of reasons for a crash.
    I hope you enter your email contact information when reporting crashes. I note you see this crash when using videos, others may possibly see this crash in other circumstances.
    You have already tried the obvious, attempts at a fix so it is now down to wait and see, maybe developers working on the bug will report something or fix it.
    Did you try my suggestion of installing portable ESR ?
    For forum cross referencing purposes
    * Crash Reports for Crash IDs <br />bp-71697f5d-41d4-48ae-9db9-3e6302130607<br /> bp-6e1347bc-153f-433a-9c35-a5f022130607<br /> bp-92a533a2-9e09-4c1e-8df7-deb4c2130607
    *(all three) Crash Signature: EnumSoftwareMFTs(_GUID const&, unsigned int, __MIDL___MIDL_itf_mfobjects_0000_0006_0003 const*, __MIDL___MIDL_itf_mfobjects_0000_0006_0003 const*, IMFActivate***, unsigned int*)
    * Related bug 858667 NEW crash in mozilla::wmf::MFTEnumEx @ EnumSoftwareMFTs
    *I note this was first seen in Fx21 and is 100% Windows 7
    <br />

  • Using Photoshop online, when I try to open a file in RAW filter the page opens in bright red and won't allow me to acess the filter.  What am I doing wrong?

    Using Photoshop online, when I try to open a file in RAW filter the page opens in bright red and won't allow me to acess the filter.  What am I doing wrong?

    Photoshoponline has a link you can try which web browser are you using?  If may be your browser or that they do not support your camera's raw format.  I received an error tht states try layer.  You should ask them your question Adobe Photoshop is not the problem its their Web application use their  link Pixlr.com Contact Us

  • Even though I have Adobe Reader, I can't open my bank stmts. like I used to. What am I doing wrong??

    I have been opening my bankstatements online for a long, long, time.  All of a sudden, I can't get them to open.  All I get is a blank screen with a tiny "x" in the upper left-hand corner.  I'm pretty new to computers, so this may be a stupid question, but what am I doing wrong??

    I am using Windows 7, IE XI (?), and Adobe reader XI.  However, just to let you know, the problem has been solved almost by accident.  I happened to mention the problem to a friend who had had a similar problem and been told to us a different browser.  She did and her problem was solved.  I switched to Google Chrome, and my problem seems to be gone as well.  Thanks for your time.

  • Not quite sure what I'm doing wrong.

    As the topic states, not quite sure what I'm doing wrong here. I'm doing a problem for a class and maybe you guys could help me out, or point me in the right direction. The question states:
    "Write a program that reads in investment amount, annual interest rate, and number of years, and displays the future investment value using the following formula: "
    futureInvestmentValue = investmentAmount x (1 + monthlyInterestRate)numberOfYears*12
    (numberOfYears is to the power)
    import javax.swing.JOptionPane;
    public class Investment {
         public static void main(String[] args) {
                double investmentAmount;
                double interestRate;
                double investmentValue;
              int years;
              String stringInvestmentAmount = JOptionPane("Please Enter An Investment Amount");
                   investmentAmount = Double.parseDouble( stringIvestmentAmount );
              String stringIntrestRate = JOptionPane("Please Enter An Intrest Rate In Decimal Form");
                   intrestRate = Double.parseDouble( stringIntrestRate );
              String stringYears = JOptionPane("Please Enter A Number Of Years");
                   years = Int.parseInteger( stringYears );
              interestRate = 1 + interestRate / 12; //Monthly interest, I believe this is how you calculate it.
              investmentValue = investmentAmount * Math.pow(interestRate, years * 12); //Now the exponent should be the number of months.
              System.out.println("Your investment value is " + investmentValue + ".");
    }My Errors are:
    C:\Java\Investment.java:15: cannot find symbol
    symbol : method JOptionPane(java.lang.String)
    location: class Investment
    String stringInvestmentAmount = JOptionPane("Please Enter An Investment Amount");
    ^
    C:\Java\Investment.java:16: cannot find symbol
    symbol : variable stringIvestmentAmount
    location: class Investment
         investmentAmount = Double.parseDouble( stringIvestmentAmount );
         ^
    C:\Java\Investment.java:18: cannot find symbol
    symbol : method JOptionPane(java.lang.String)
    location: class Investment
    String stringIntrestRate = JOptionPane("Please Enter An Intrest Rate In Decimal Form");
    ^
    C:\Java\Investment.java:19: cannot find symbol
    symbol : variable intrestRate
    location: class Investment
         intrestRate = Double.parseDouble( stringIntrestRate );
         ^
    C:\Java\Investment.java:21: cannot find symbol
    symbol : method JOptionPane(java.lang.String)
    location: class Investment
    String stringYears = JOptionPane("Please Enter A Number Of Years");
    ^
    C:\Java\Investment.java:22: cannot find symbol
    symbol : variable Int
    location: class Investment
         years = Int.parseInteger( stringYears );
         ^
    6 errors
    Tool completed with exit code 1
    Edited by: Close on Oct 23, 2007 4:12 PM

    String stringInvestmentAmount = JOptionPane("Please Enter An Investment Amount");What is this line trying to do? If you are trying to create a JOptionPane object and pass that String to the constructor then you need the new keyword. If you are trying to call a method of the JOptionPane class then it would be a good idea to include the method name. I sure you are trrying to do the second option.
    Once you fix that, it is likely the other errors will disappear. Or different ones will emerge.

Maybe you are looking for

  • Issue w movie only loading partially in certain Browser/Player Configurations

    I have a multi SWF movie that uses AS2 and is behaving differently in different browsers. The basic scenario is this . There is a root movie that acts as a control panel for user input. 1. It loads then parses some xml to determine how the interface

  • How to deploy Portal to Oracle identity Federation 10.2.0.4 ?

    AIX5.3 Oracle iAS 10.2.0.2, 10.2.0.4 Oracle Identity Federation 10.2.0.4 was installed successfully. How can i deploy portal of 10.2.0.2 to it`s instance ? Simple installation of Portal into instance has no result. Help please.

  • USB drives invisible in Finder

    I've been having a problem for a few weeks now where my MacBook Pro (running 10.5.2) isn't showing any USB cable connected drives in the Finder. They are clearly there in Disk Utility, and I've been able to run repairs etc, they just aren't visible o

  • Is there any plug-ins for static code analysis in Jdeveloper

    Hi, Is there any PMD, check style and static code analysis plug-ins available for JDeveloper? Those are available for Eclipse. How to achieve that in the JDeveloper? Regards, Raghu.

  • JS: Finding & replacing a character with a certain para style

    I'm scripting an automated indd -> PDF project and I need to minimise the user input. To this end, I want to search and replace commas in a particular cell of a table (which are the only instances of a particular para style), and replace them with fo