Checking when file has loaded (AS2 in CS3)

Hey everyone,
I am currently writing a site and one of the things it does is read variables from a database (by using the following code to access a php file which does the database lookup):
loadVariablesNum ("loadvariables.php", 0, "POST");
This works perfectly, however following this I load a number of images based on the variables that are returned. I am still quite new to flash so i don't think this is complicated, but i can't work out how to put an eventlistener, or something similar, so i can tell when loadvariables.php has finished loading. Then i can just load the relevant images in the oncomplete section (or the equivalent).
I would be immensely grateful if anyone could point me in the right direction as i can't seem to work it out.
Thanks very much everyone, i really appreciate your help,
Dave

Yep i have used clearinterval to clear it once the data has loaded. Thanks so, so much for your help, it really is greatly appreciated, no doubt i will be back again soon!!
Thanks again,
Dave

Similar Messages

  • Warning: An ActionScript 1.0/2.0 SWF file has loaded an ActionScript 3.0 SWF; code in the ActionScri

    hi,
    I am using classLoader to load the multiple swf and using that getclass method i am accessing its document class. it is working fine in local system. when i upload the same files in server,i am getting the below error
    Warning: An ActionScript 1.0/2.0 SWF file has loaded an ActionScript 3.0 SWF; code in the ActionScript 3.0 SWF will not run.
    any help pls

    what's your url?

  • Images won't appear when file is loaded

    I currently have a PC at home and I started a project there with images imported from an illustrator file.
    It worked fine at home until I brought it to school and loaded it on a Mac. All my images are blank, however there is still a bounding box around them but there's nothing inside. Even the files in the project panel don't show up when I drag it to another composition. I tried to import the illustrator file again and when I did, the images worked, but that would mean I would have to redo the whole project when I've already finished it.
    When I took the file and loaded it at home again, it worked fine. It seems like I need to update my files for it to show, but I'm not exactly sure how. Does anyone know how I can fix this error and get the images loading? It would be greatly appreciated, thanks!

    Check whether the machine at school has correctly been updated to A§ 8.0.2. Several not so minor bugs were fixed with the updates. also check your files on Illustrator (Mac) and if necessary, re-save them from there.
    Mylenium

  • I have a problem using the "save as pdf..." command of the print panel of MS Word (lower L corner).  When file has a few photos in it, the pdf file becomes huge; 7 mb Word file becomes 31 mb., on MacBook Pro with Intel Core 2 Duo processor , OS X 10.5.8

    How can converting a MS Word file to a pdf make the file 5x bigger?  Can someone tell me how to update the "save as pdf..." feature when "printing" a file in MS Word (Word:mac 2008, ver. 12.2.5).  The problem is that using this to create pdf files gives huge files when the Word file has graphics pasted as pictures from Powerpoint, even for simple graphics and when first exported at low resolution (180 dpi) as jpg files from Powerpoint and inserted into Word.  

    Here's a little more info on the save_as_pdf issue.  It is Word files in 97–2004 format (doc) that get 5x bigger.  The conversion works fine and file size is normal if the Word file is saved in most recent Word format (docx rather than doc).  Somehow MS Word can't save its own files properly in pdf format.  Thanks Bill for all the frustration.

  • Perform action when file has been copied?

    I am using the NSFileManager class to copy files from one path to another in my Cocoa Mac application. I am using the following code;
    [[NSFileManager defaultManager] copyItemAtPath:[fromPathDirectory stringByExpandingTildeInPath] toPath:[toPathDirectory stringByExpandingTildeInPath] error:nil];
    Are there any methods available (I think they have a special name, but I cannot remember them!) that will trigger some code only after the copy has been completed successfully?
    I would really appreciate your help on this.
    Thanks!
    Ricky.

    Control will return to your function only after the copy is done so technically any code you place after the copy command will execute after the copy. But you should at least test to make sure the copy worked before you run off and start doing things about it.
    BOOL worked;
    worked = [[NSFileManager defaultManager] copyItemAtPath:[fromPathDirectory stringByExpandingTildeInPath] toPath:[toPathDirectory stringByExpandingTildeInPath] error:nil];
    if (worked) { //copy worked, execute code here}
    else { //copy failed - deal with error return code here.}
    HTH,
    =Tod

  • Why will Firefox will not display content when it has loaded the Face Book page?

    Firefox (FF) loads the Facebook page but only displays the menu of Facebook. Clicking on menu items does produce results but not the main Facebook page.

    *"Clear the Cache": Tools > Options > Advanced > Network > Offline Storage (Cache): "Clear Now"
    *"Remove the Cookies" from sites causing problems: Tools > Options > Privacy > Cookies: "Show Cookies"

  • Tab title is changing to "connecting" after page has loaded

    Yesterday, my tabs in firefox started to act a little bit odd. When (only when) tab has loaded few seconds pass and tab title changes to "Connecting...". Before title change to "Connecting...", tab title is as it should be - webpage title. And this is happening to all tabs. I have opened like 12 tabs all the time. Is someone familiar with this situation? I don't have tab renamizer installed. Thanks

    Create a new profile as a test to check if your current profile is causing the problems.
    See "Creating a profile":
    *https://support.mozilla.org/kb/profile-manager-create-and-remove-firefox-profiles
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox#Profile_issues
    If the new profile works then you can transfer some files from an existing profile to the new profile, but be careful not to copy corrupted files.
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.

  • What is the Transaction/Program which gets triggered when file

    What is the Transaction or Program which gets triggered when file has been placed on application server to generate the Inbound IDoc from the same.
    Please let me know the procedure to automate the process of generating Inbound IDoc when the file has been placed in application server path...
    Thanks for your reply ....
    regards,
    G.Reddy

    hi
    MASTER_IDOC_DISTRIBUTE fm is used to create a IDOC for outbound & for inbound
    try this
    you can use master_ale_distribute function module to create the idoc.but before that you need to populate two internal table to pass in to this function module.
    1.it_edidc = this internal table tells the port,partner profile etc.this internal table having the same structure of edidc table
    2,second you create the internal table conatains the data records.this table got the the structure of edid4.
    3.populate these two internal table and pass this to this function module
    4.you can populate the second internal table from your flat file by writing some upload program
    FORM master_ale_distribute .
    *PERFORM get_mestype.
      wa_edidc-mestyp = wrk_mestyp.
      wa_edidc-idoctp = wrk_idoctyp.
      CALL FUNCTION 'MASTER_IDOC_DISTRIBUTE'
      EXPORTING
        master_idoc_control                  = wa_edidc
      OBJ_TYPE                             = ''
      CHNUM                                = ''
      TABLES
        communication_idoc_control           = it_edidc
        master_idoc_data                     = it_idoc_data.
      IF sy-subrc  0.
      ELSE.     
        READ TABLE it_edidc INTO wa_edidc INDEX 1.
        IF sy-subrc = 0.
          MESSAGE s006(msg) WITH wa_edidc-docnum.
          PERFORM modify_idocnum.
        ENDIF.
      ENDIF.
    ENDFORM.
    Regards

  • [svn:osmf:] 15114: Don't check policy file when loading SWFs.

    Revision: 15114
    Revision: 15114
    Author:   [email protected]
    Date:     2010-03-29 12:24:58 -0700 (Mon, 29 Mar 2010)
    Log Message:
    Don't check policy file when loading SWFs.  Don't import local SWFs into current security domain.
    Modified Paths:
        osmf/trunk/framework/OSMF/org/osmf/elements/ImageLoader.as
        osmf/trunk/framework/OSMF/org/osmf/elements/SWFLoader.as
        osmf/trunk/framework/OSMF/org/osmf/elements/loaderClasses/LoaderUtils.as

    If you managed to get to the point where the applet container is created (the "gray square"), but the form never appears then you can assume one or more of the following has occurred:
    1. The JRE crashed after startup. Many times, but not always, if such a crash occurs it will leave a JRE dump file on the desktop. Its content may help to identify the cause.
    2. The Forms runtime crashed at startup. Many times, but not always, a Forms dump file will be created on the server. Its content may help to identify the cause.
    3. The Forms runtime was unable to start at all. This can occur on unix systems when/if there is a resource or permissions issue. One of the more common causes is if the file descriptor (nofiles) value is set too low.
    4. The applet is actually running, but has attempted to display a dialog box and is awaiting your acknowledgement, but the box was wrongfully sent to the background behind the browser. A similar issue was reported in one of the JRE 1.6.0_xx series, however I don't recall which one. Uninstall your current version and install the latest which is 1.6.0_27
    There are other possibilities, but these are most common.
    I would recommend the following:
    1. Uninstall any JRE older than 1.6.0_27. Reboot. Install 1.6.0_27
    2. Set networkRetries=5 in formsweb.cfg
    3. Set FORMS_TIMEOUT to 15 (default). Setting to a high value as you have is not recommended and is rarely necessary.
    4. Verify that the test form works. For example:
    http://machine:port/forms/frmservlet?form=test
    5. It appears that you are trying to use WU_TEST_106.fmx. Instead, download an updated version of this file (the name has also changed)
    http://www.oracle.com/ocom/groups/public/@otn/documents/webcontent/196249.zip
    6. Ensure that you have compiled webutil.pll into .plx. Do not use an old version of this file. The installation will include one. If not, check for it in an installation that also includes the Builders.

  • Problem Checking if File Exists When App is Launched

    I'm developing an app which checks a file "lastuser.txt" to determine which database to open, as sometimes people share phones. Anyway, I'm trying to call  TryGetItemAsync() in the OnLaunched() section in App.xaml.cs but I get the message
    "The name 'TryGetItemAsync' does not exist in the current context".  I am new to C# and phone app development. Any help would be greatly appreciated. Below is my code:
    tia
    CS
    using System;
    using System.Collections.Generic;
    using System.IO;
    using System.Linq;
    using SQLite;
    using System.Runtime.InteropServices.WindowsRuntime;
    using Windows.Storage;
    using System.Threading.Tasks;
    using System.Diagnostics;
    using Windows.ApplicationModel;
    using Windows.ApplicationModel.Activation;
    using Windows.Foundation;
    using Windows.Foundation.Collections;
    using Windows.UI.Xaml;
    using Windows.UI.Xaml.Controls;
    using Windows.UI.Xaml.Controls.Primitives;
    using Windows.UI.Xaml.Data;
    using Windows.UI.Xaml.Input;
    using Windows.UI.Xaml.Media;
    using Windows.UI.Xaml.Media.Animation;
    using Windows.UI.Xaml.Navigation;
    // The Blank Application template is documented at http://go.microsoft.com/fwlink/?LinkId=391641
    namespace BP_Alert
    /// <summary>
    /// Provides application-specific behavior to supplement the default Application class.
    /// </summary>
    public sealed partial class App : Application
    public static string DBPath = string.Empty;
    public static string LastUser = string.Empty;
    public static DateTime Time_Taken { get; set; }
    private TransitionCollection transitions;
    /// <summary>
    /// Initializes the singleton application object. This is the first line of authored code
    /// executed, and as such is the logical equivalent of main() or WinMain().
    /// </summary>
    public App()
    this.InitializeComponent();
    this.Suspending += this.OnSuspending;
    /// <summary>
    /// Invoked when the application is launched normally by the end user. Other entry points
    /// will be used when the application is launched to open a specific file, to display
    /// search results, and so forth.
    /// </summary>
    /// <param name="e">Details about the launch request and process.</param>
    protected async override void OnLaunched(LaunchActivatedEventArgs e)
    #if DEBUG
    if (System.Diagnostics.Debugger.IsAttached)
    this.DebugSettings.EnableFrameRateCounter = true;
    #endif
    Frame rootFrame = Window.Current.Content as Frame;
    // Do not repeat app initialization when the Window already has content,
    // just ensure that the window is active
    if (rootFrame == null)
    // Create a Frame to act as the navigation context and navigate to the first page
    rootFrame = new Frame();
    // TODO: change this value to a cache size that is appropriate for your application
    rootFrame.CacheSize = 1;
    if (e.PreviousExecutionState == ApplicationExecutionState.Terminated)
    // TODO: Load state from previously suspended application
    DBPath = Windows.Storage.ApplicationData.Current.LocalFolder.Path;
    LastUser = Path.Combine(Windows.Storage.ApplicationData.Current.LocalFolder.Path,"LastUser.txt");
    bool result = await TryGetItemAsync(LastUser); <--Error!!!!!!!!!!!!!!!
    // Place the frame in the current Window
    Window.Current.Content = rootFrame;

    It seems that TryGetItemAsync is a method on a StorageFolder, so you will need to do something like:
    myStorageFolder.TryGetItemAsync(LastUser);
    See here:
    https://msdn.microsoft.com/en-us/library/windows/apps/windows.storage.storagefolder.trygetitemasync.aspx?cs-save-lang=1&cs-lang=csharp#code-snippet-1
    If you go to that link and scroll down to the bottom of the page, it says:
    Minimum supported phone
    None supported

  • Knowing when a swf loaded in MovieClipLoader has finished animating

    Hi,
    I'm trying to create a wrapper written in ActionScript2, which loads a second AS2 swf then when this loaded swf has finished animating the wrapper will load a second swf.
    This is the code I have to load the first swf:
    this.createEmptyMovieClip("containerClip",this.getNextHighestDepth());
    var movLoad:MovieClipLoader = new MovieClipLoader();
    var myListener:Object = new Object();
    myListener.onLoadProgress = function(thisClip:MovieClip)
         thisClip.onEnterFrame = function()
              trace("CurrentFrame:" + this._currentframe);
              //trace("TotalFrames: " + this._totalframes);
              if (this._currentframe == this._totalframes)
                   //trace("true");
                   movLoad.loadClip("number2.swf",this);
              //trace("false"); 
    movLoad.addListener(myListener);
    movLoad.loadClip("number1.swf",this.containerClip);
    I can get the total number of frames from the loaded swf, but how can I check when I reach the total number so I can remove the first swf and load the second one?
    Stephen

    Hi,
    This is what I have so far:
    this.createEmptyMovieClip("containerClip",this.getNextHighestDepth());
    var movLoad:MovieClipLoader = new MovieClipLoader();
    var myListener:Object = new Object();
    myListener.onLoadInit = function(thisClip:MovieClip, loadedBytes, totalBytes)
         this.onEnterFrame = function()
              trace("CurrentFrame:" + thisClip._currentFrame);
              trace("TotalFrames: " + thisClip._totalframes);
              if (thisClip._currentframe == thisClip._totalframes)
                   movLoad.unloadClip("C:/development/projects/CMSwfLoader/assets/Yahoo_Smart_Banners_Loans_300x250_v2.swf");
                   movLoad.loadClip("C:/development/projects/CMSwfLoader/assets/300x250_2p_12Mb_tipografica.jpg",this);
    movLoad.addListener(myListener);
    movLoad.loadClip("C:/development/projects/CMSwfLoader/assets/Yahoo_Smart_Banners_Loans_300x250_v2.swf",this.containerClip);
    But I found that the onEnterFrame is not called at all, I want it to be called on the movieClip that has been loaded, so I can tell when it has reached the last frame. Is the problem because I'm listening for onLoadInit?
    Stephen     

  • Why do Sony DSC-RX100M3 raw files look strange in PE9 when flash has been used in the shot?

    I have just bought a Sony DSC-RX100M3 camera and use it to shoot raw + jpeg.  I want to use the raw files in my Photoshop Elements 9, which has the Camera Raw plug-in version 6.5.0.216 installed. I have downloaded the Adobe DNG converter version 8.7.1.311 so I can import my Sony raw files into PE 9 as they cannot be used directly. Most of the time these raw files look OK, but when I use the flash on my camera and then look at the raw files in PE9 they look far more pink than the corresponding jpeg files. The jpeg files look more or less as I remember the scene when I shot the picture.
    When I look at the same raw and jpeg files in Sony's own Image Data Converter software (version 4.2.04.17270) the raw and jpeg files look very similar to one another, and there is no pink colour cast in the raw file.
    What am I doing wrong in Photoshop Elements? I though the DNG converter keeps all the information from the original raw file and makes no changes to it, so why does the raw file look so different when flash has been used?
    Thanks for any help you can give!
    AVM

    Looking at the pictures of the camera online, I'd say there is no lens shade--a device to keep light from the sides from causing lens flare--and the camera lens, itself, was just too far extended and there was a lens shadow.  You probably can't use the flash that close up and should back off and zoom in further.  Experimenting would give you a sense of what situations will have a shadow of the lens or not.
    Your ACR plug-in is old enough not use have Process Version 2012, yet, only 2010 and 2003 so Adobe didn't have the idea to put the selector down next to the camera profile. The toning options are better with Process 2012 so that would be a reason to upgrade, but I am not sure that the Camera Neutral profile in PSE9 would be different than PSE13.  If Adobe changed the camera profiles then people's pictures would look different once they upgraded to a new version and that's not something that's supposed to happen.
    You can certainly download the PSE13 trial and see if things look any different, but they may not:  Download a free trial or buy Adobe products | Adobe downloads   There would be newer minimum OS version requirements for the newer versions of Adobe software so check those out before trying to install, unless you're on Windows 7+ or OSX 10.8+ then it should be fine.
    One more thing, the White-Balance tint is set to +10 by the camera:
    This As Shot WB is more magenta and even when using the Adobe Standard profile, moving the Tint down to +0 makes things a little more green like your camera JPG.  So there is more than just changing the camera profile that you can do:

  • Which JAR file has the class weblogic.xml.domimpl.Loader ?

    when an Axis web-service WSDL is read and parsed using weblogic client - i get this error. which weblogic-10 jar file has this class "weblogic/xml/domimpl/Loader" ?
    java.lang.NoClassDefFoundError: weblogic/xml/domimpl/Loader
    at weblogic.wsee.util.dom.DOMParser.getWebLogicDocumentImpl(DOMParser.java:168)
    at weblogic.wsee.util.dom.DOMParser.getDocument(DOMParser.java:58)
    at weblogic.wsee.wsdl.WsdlReader.getDocument(WsdlReader.java:311)
    at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:402)
    at weblogic.wsee.wsdl.WsdlDefinitions.parse(WsdlDefinitions.java:388)
    at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:78)
    at weblogic.wsee.wsdl.WsdlFactory.parse(WsdlFactory.java:65)
    at weblogic.wsee.jaxrpc.ServiceImpl.loadWsdlDefinition(ServiceImpl.java:468)
    at weblogic.wsee.jaxrpc.ServiceImpl.<init>(ServiceImpl.java:114)
    at com.qwest.assia.service.client.Provisioning_Info_Impl.<init>(Unknown Source)
    at com.qwest.assia.service.client.Provisioning_Info_Impl.<init>(Unknown Source)
    at com.qwest.iom.connector.adapter.webservice.qcontrol.AssiaWebServiceConnectionFactory.getWebServiceConnection(AssiaWebServiceConnectionFactory.java:64)
    at com.qwest.mdw.connector.webservice.WebServiceConnectionFactory.getConnection(WebServiceConnectionFactory.java:25)
    at com.qwest.iom.connector.adapter.webservice.qcontrol.AssiaWebServiceTestCase.test_MyAccountWebService(AssiaWebServiceTestCase.java:51)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:585)
    at junit.framework.TestCase.runTest(TestCase.java:154)
    at junit.framework.TestCase.runBare(TestCase.java:127)
    at junit.framework.TestResult$1.protect(TestResult.java:106)
    at junit.framework.TestResult.runProtected(TestResult.java:124)
    at junit.framework.TestResult.run(TestResult.java:109)
    at junit.framework.TestCase.run(TestCase.java:118)
    at junit.framework.TestSuite.runTest(TestSuite.java:208)
    at junit.framework.TestSuite.run(TestSuite.java:203)
    at org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
    at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
    at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)

    Hi,
    I found it in ADF 11g R2 documentation - http://docs.oracle.com/cd/E24382_01/web.1112/e16182/taskflows_regions.htm#insertedID10
    I guess this is 11g R2 feature.
    I have a requirement to display the multiple regions dynamically. This feature suits my requirement perfectly, but unfortunately it is not available in 11g R1.
    Can we achieve the similar functionality in 11g R1 through other means?
    Thanks
    Ravi

  • Cannot launch vivado simulator 2015.1: behav/compile.bat' script "Please check that the file has the correct 'read/write/execute' permissions"

    Hi,
    I'm trying to run a verilog simulation using the vivado simulator 2015.1 on Windows 7.
    I get the following error when I attempt to launch simulation:    
    ERROR: [USF-XSim-62] 'compile' step failed with error(s) while executing 'D:/projects/axi/axi_test_system/axi_test_system.sim/sim_1/behav/compile.bat' script. Please check that the file has the correct 'read/write/execute' permissions and the Tcl console output for any other possible errors or warnings.
    The tcl console repeats the same message, "Please check that the file has the correct 'read/write/execute' permissions"
    I cannot find any problem with the permissions.  I believe that windows will always execute a .bat file.   Within the same project, I can run elaboration, synthesis and implementation without problems. 
    Any idea why the simulation compile script won't run?
    Thanks,
    Ed

    Hi,
    Thanks very much for your detailed reply. These were the right questions based upon what I told you.   
    However, I took the code home last night and ran it on my webpack 2014.2 release.   It still failed, but I got completely different error messages.   These messages correctly pointed me to an undeclared signal in my testbench. Once fixed, the compile worked and the simulator launched. 
    This morning, I fixed the signal name in my 2015.1 setup, and it also compiled and launched correctly. 
    So, the problem wasn't actually related to file permissions.  It seems like the 2015.1 error message may be broken compared to 2014.2.  
    I was running the Vivado GUI, clicking on "Simulate > Run Behavioral Simulation"
    Thanks again for your help. 
    Regards,
    Ed  
      

  • In Log-shipping what is load delay period on secondary server - Skipping log backup file since load delay period has not expired ....

    During logshipping, job on secondary server is ran successfully BUT give this information
    "Skipping log backup file since load delay period has not expired ...."
    What is this "Load delay period" ? Can we configure this somehow, somewhere ?
    NOTE : The value on "Restore Transasction Log tab", Delay Restoring backups at least = Default (zero minutes)
    Thanks
    Think BIG but Positive, may be GLOBAL better UNIVERSAL.

    How to get the LSBackup, LSCopy, and LSRestore jobs back in sync...
    Last I posted the issue was that my trn backups were not being copied from Primary to Secondary. 
    I found upon further inspection of the LS related tables  in MSDB the following likely candidates for adjustment:
    1) dbo.log_shipping_monitor_secondary, column  last_copied_file 
    change last copied file column to something older than the file that is stuck. For example, the value in the table was 
    E:\SQLLogShip\myDB_20140527150001.trn
    I changed last_copied_file to E:\SQLLogShip\myDB_20140525235000.trn. Note that this is just a made up file name that is a few minutes before the actual file that I would like to restore (myDB_2014525235428.trn). 4 mins and 28 seconds before, to
    be exact.
    LSCOPY runs and voila! now it is copied from primary to secondary. That appears to be the only change needed to get the copy going again.
    2) For LSRestore, see the MSDB table dbo.log_shipping_monitor_secondary, change
    last_restored_file
    again I used the made up file E:\SQLLogShip\myDB_20140525235000.trn
    LSRESTORE runs and my just copied myDB_2014525235428.trn is restored
    ** note that
    dbo.log_shipping_secondary_databases also has a last_restored_file column - this did not seem to have any effect, though I see that it updates after completing the above and LSRestore has run successfully, so now it is correct as well
    3) LSBackup job is still not running, the job still has a last run date in the future. Could just leave it and eventually it will come right, but I made a fairly significant time change, plus it's all an experiment....back to MSDB.
    look at dbo.sysjobs, get the job_id of your LSBackup job
    edit dbo.sysjobschedules - change next_run_date  next_run_time as needed to a datetime before the current time, or when you would like the job to start running. 
    I wouldn't be so cavalier with data that was important, but that's the benefit of being in Test, and it appears that these time comparisons are very rudimentary - a value in the relevant log shipping table and the name of the trn file. That said, if you
    were facing a problem of this nature due to lost trn files, corrupted, or some similar scenario, this wouldn't fix your problem, though it _might_ allow you to continue? But in my case I know I have all the trn files, it's just the time that changed, in this
    case on my Primary server, and thus the names of the trn logs got out sync.

Maybe you are looking for