Photoshop stops execution of scripts after certain amount of time

We developed some scripts for importing and exporting certain parts of psd-files. The scripts are working perfectly, when executed directly via Run/Script.
But after implementing them within an extension in Configurator we figured out a kind of timeout after approximately 5 Minutes runtime.
So every script installed within an extension and run via the according palette will freeze Photoshop after this time.
If you run the script separately everything works, also longer than 5 Minutes.
Is there any javascript function to change the "timeout" in Photoshop?
This problem occurs on Mac, PC, CS5.5 and CC, on different computers.
Thanks in advance
Peter

Yes this is great thank you so much... I was searching for where to find that code I see I could have maybe used the listener browsing to the script perhaps... but also I might have to try and combine a few things.     This link here talks about a global assetspath _Adobe.assetsPath   in the configurator 4 for invoking javascript... and http://forums.adobe.com/thread/1244470   And this link here http://forums.adobe.com/thread/1016919m is talking about a global varailbe assetsPath .   I have to figure out how to have the scripts called from wherever the assets path gets installed right?   Lots of the .jsx files will end up in a folder after the .zxp installs... but I'm using Configurator 3 to get around the 4 issues with CC... I can still export and have functional CS6 and CC extensions this way out of Configurator 3 --- just loading the .ZXPs in Extension Manager CC - they work in Photoshop CC just fine.    This avoids the problems with the signatures people are having.     This timeout solution solves another major issue.  
Do I simply replace this "desc3241.putPath( idjsCt, new File( "/Applications/Adobe Photoshop CS5.1/Scripting/Sample Scripts/JavaScript/ActiveLayer.jsx" ) );"
with
"desc3241.putPath( idjsCt, new File( "/Applications/Adobe Photoshop CS5.1/Scripting/Sample Scripts/JavaScript/ActiveLayer.jsx" ) );"
I think my issue will be just trying to get the code going to the right folder and I might have to make two separate versions one for CS6 and one for CC -- because otherwise the code is the same in the script buttons... have to change all the buttons I wish there was a quick way to switch them to script instead of script file.   Just need them to run this code now, but make it go to either:
Adobe/CS6ServiceManager/Extensions/["MyExtensionName"]/content/["MyExtensionName".assets]/    -- in the case of a CS6 version,
And
Adobe/CEPServiceManager4/extensions/com.["MyExtensionCo.MyExtensionName"]/content/Configur ator-Panel.assets
From what I can see there must be a smart way to have it work, but maybe not universally for CS6 and CC extension... the way I am exporting my panel with the script-file buttons... it works when you install the same .zxp to extension manager cs6 or cc... but I'm sure with this time-out solution that might not work.   Still just using different code for two different saved versions in Configurator 3, I will export a CS6 .zxp and a CC one.     I'm still not ready to switch to using Configurator 4, I can't get my extensions to export where they install ok with the self-signed certificate, it never gets past the loading with Configurator 4 .zxp files it fails to authenticate or let the user bypass.  
Thanks for your help so much this is great progress!

Similar Messages

  • Win 2008R2: Any feature or tool that turns off individual HDDs after certain amount of time?

    Hello,
    Using windows 2008 R2,
    I like to to automatically turn off one of my HDDs after 30 min of inactivity.
    Is there any tool or feature the help me to do that?
    Thank you,

    Hi,
    I just want to confirm what is the current situation.
    Please feel free to let us know if you have any update.
    Regards.
    Vivian Wang

  • How do i set my ipod touch to automatically turn off after a certain amount of time?

    how do i set my ipod touch to automatically turn off after a certain amount of time?

    Please check "My Music Timer" app.
    "My Music Timer" can stop iPod touch or spotify playing music.
    https://itunes.apple.com/app/id787182095
    Thanks

  • How do I get the page to refresh after a certain amount of time so it jumps back to beginning of one page site? Its for an exhibition

    Hi,
    I am in an exhibition space where I need to display my Muse website offline and locally on the desktop. I am looking for a way for the website to refresh after a certain amount of time so it can go back to the beginning of the page. Can someone help? Please!

    You can try the steps mentioned here :
    http://stackoverflow.com/questions/2787679/how-to-reload-page-every-5-second
    http://stackoverflow.com/questions/17886578/refresh-part-of-page-div
    http://crunchify.com/how-to-refresh-div-content-without-reloading-page-using-jquery-and-aj ax/
    Thanks,
    Sanjit

  • How to stop a while loop after certain time using Elapsed time vi

    how to stop a while loop after certain time using Elapsed time vi.

    Hi Frankie,
    Just place the Elapsed Time VI inside the WHILE loop, and wire the 'Time Has Elapsed' output to the conditional terminal in the lower right corner (which should be set to 'stop if true' by default).
    In the future, please post your LabVIEW questions to the LabVIEW Forum.  You have a much better chance of getting your questions answered sooner, and those answers can then help others who are searching the LabVIEW forums.  Thanks!
    Justin M
    National Instruments

  • Click event on a label doesn't work after a certain amount of time?

    I'm having a weird kinda a problem with my label.....I had given a click event on the label but the problem here is that...it won't take any event after a certain amount of time....i mean..it takes the event if you click on it when it is loaded but after sometime it won't take any event...
    And there's one more thing which is that...i've some images too on the page but the images doesn't show up until and unless my mouse gains focus on the page...i.e I've to move my mouse over the page once then only i'm able to see the image...
    Any help on how to solve this problem.....

    The problem is that...the project size is too big and i really don't know where to upload the project.....
    Any help and still thanks for the reply...
    Waiting...

  • Youtube videos freeze after a certain amount of time, but audio continues.

    As it says in the title, most Youtube videos freeze after a certain amount of time for me, but the audio continues.
    Happens on Firefox, IE and Chrome

    This happens mostly because of obsolate drivers.
    http://forums.adobe.com/thread/945765?tstart=0

  • Video content freezes for a certain amount of time on Lion

    After upgrading to Lion, I have noticed that video content freezes (though the voice is heard, but the picture is frozen for some seconds) for a certain amount of
    time when its starts playing (eg youtube videos) on Lion.
    I have observed this on my friends macbook pro also.
    I have a macbook (mid 2010 model)

    Stats Before playing a video
    Stats while playing a video in youtube

  • Application keeps crashing after an amount of time

    Hello,
    Since an certain amount of time we get crashes with our application on some of our PC's. It's an touchscreen application and it's running on a builtin PC with an Intel G41 Express Chipset. The application only crashes if it runs fullscreen.
    I've tried various things to get a solution but everytime the application keep's crashing. The things i've tried so far:
    Reinstall a clean Windows 7 (x86), No chipset drivers (just the drivers Windows recognized) with Adobe AIR 3.6 and the application, after that i've tried Adobe AIR 3.4 and 3.5. Application keeps crashing on the Adobe AIR.dll that's in C:\Program Files (x86)\Common Files\Adobe AIR\Versions\1.0\
    Reinstall a clean Windows 7 (x86), the latest chipset drivers with Adobe AIR 3.6 and the application, after that i've tried Adobe AIR 3.4 and 3.5. No other software. Application keeps crashing.
    Reinstall a clean Windows 7 (x64) with Adobe AIR 3.6 and the application, after that i've tried Adobe AIR 3.4 and 3.5. Application keeps crashing.
    I'm guessing the chipset is messing up Adobe AIR, because if we run it on another PC the application runs fine. Even if I run the application in Windows XP mode, the application runs fine. But I guess that's just because "Windows XP mode" simulates other hardware.
    In the Windows Event Log I can find the following entry:
    Naam van toepassing met fout: SenF.exe, versie: 0.0.0.0, tijdstempel: 0x4eb75ae0
    Naam van module met fout: Adobe AIR.dll, versie: 3.6.0.5970, tijdstempel: 0x510d8c68
    Uitzonderingscode: 0xc0000005
    Foutoffset: 0x001b1d38
    Id van proces met fout: 0xf84
    Starttijd van toepassing met fout: 0x01ce198187df72be
    Pad naar toepassing met fout: C:\Program Files\SenF\SenF.exe
    Pad naar module met fout: C:\Program Files\Common Files\Adobe AIR\Versions\1.0\Adobe AIR.dll
    Rapport-id: e9a85ae2-8574-11e2-9597-e06995e99d65
    I've created a dump file and I can find the following:
    0:000> !analyze -v
    * Exception Analysis *
    *** WARNING: Unable to verify timestamp for SenF.exe
    *** ERROR: Module load completed but symbols could not be loaded for SenF.exe
    GetPageUrlData failed, server returned HTTP status 404
    URL requested: http://watson.microsoft.com/StageOne/SenF_exe/0_0_0_0/4eb75ae0/Adobe_AIR_dll/3_6_0_5970/51 0d8c68/c0000005/001b1d38.htm?Retriage=1
    FAULTING_IP:
    Adobe_AIR+1b1d38
    66e81d38 8b8694000000 mov     eax,dword ptr [esi+94h]
    EXCEPTION_RECORD:  ffffffff -- (.exr 0xffffffffffffffff)
    ExceptionAddress: 66e81d38 (Adobe_AIR+0x001b1d38)
       ExceptionCode: c0000005 (Access violation)
      ExceptionFlags: 00000000
    NumberParameters: 2
       Parameter[0]: 00000000
       Parameter[1]: 00000094
    Attempt to read from address 00000094
    PROCESS_NAME:  SenF.exe
    ERROR_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.
    EXCEPTION_CODE: (NTSTATUS) 0xc0000005 - The instruction at 0x%08lx referenced memory at 0x%08lx. The memory could not be %s.
    EXCEPTION_PARAMETER1:  00000000
    EXCEPTION_PARAMETER2:  00000094
    READ_ADDRESS:  00000094
    FOLLOWUP_IP:
    Adobe_AIR+1b1d38
    66e81d38 8b8694000000 mov     eax,dword ptr [esi+94h]
    MOD_LIST: <ANALYSIS/>
    NTGLOBALFLAG:  0
    APPLICATION_VERIFIER_FLAGS:  0
    FAULTING_THREAD:  00000490
    BUGCHECK_STR: APPLICATION_FAULT_NULL_CLASS_PTR_DEREFERENCE_INVALID_POINTER_READ
    PRIMARY_PROBLEM_CLASS: NULL_CLASS_PTR_DEREFERENCE
    DEFAULT_BUCKET_ID:  NULL_CLASS_PTR_DEREFERENCE
    LAST_CONTROL_TRANSFER:  from 00000000 to 66e81d38
    STACK_TEXT: 
    00000000 00000000 00000000 00000000 00000000 Adobe_AIR+0x1b1d38
    STACK_COMMAND:  ~0s; .ecxr ; kb
    SYMBOL_STACK_INDEX:  0
    SYMBOL_NAME:  Adobe_AIR+1b1d38
    FOLLOWUP_NAME:  MachineOwner
    MODULE_NAME: Adobe_AIR
    IMAGE_NAME:  Adobe AIR.dll
    DEBUG_FLR_IMAGE_TIMESTAMP:  510d8c68
    FAILURE_BUCKET_ID: NULL_CLASS_PTR_DEREFERENCE_c0000005_Adobe_AIR.dll!Unknown
    BUCKET_ID: APPLICATION_FAULT_NULL_CLASS_PTR_DEREFERENCE_INVALID_POINTER_READ_Adobe_AIR+1b1d38
    WATSON_STAGEONE_URL:  http://watson.microsoft.com/StageOne/SenF_exe/0_0_0_0/4eb75ae0/Adobe_AIR_dll/3_6_0_5970/51 0d8c68/c0000005/001b1d38.htm?Retriage=1
    Followup: MachineOwner
    Can someone point the the right direction? If necessary I can upload the whole DMP file.
    If you need more information feel free to ask. I'm not the developer of this program so I might get in contact with the company that build this application to get your questions answered.
    Many thanks in advance.
    Message was edited by: Michel van den Hoek

    Hi Chris,
    It seems the problem has been resolved yesterday. I waited to reply with the solution until we're done testing. Since testing is done, i'll tell you our solution. I think the problem was very computer specific, but since others can have this problem i'll tell how we fixed this.
    We are using 32" touchscreen from ELO (http://www.elotouch.com/products/ids/3200L/default.asp) with an builtin PC with the following specs.
    ECM1:
    Intel Celeron Dual-Core
    2.2GHz E1500
    (512KB L2 cache/800MHz bus)
    Appearantly we were using the drivers that are delivered with Windows 7 and we did 'downgrade' the drivers with the drivers that can be downloaded from the ELO website (http://www.elotouch.com/files/driver_packs/IDS_Computer_Module_Win7_Drivers_Package.zip). I guess the below drivers are the one that solved our problem.
    *  Product: Intel(R) Chipset Device Software
    *  Release: Production Version
    *  Version: 9.2.0.1021
    *  Target Products: Intel(R) 6 Series/C200 Series Chipset Family
    *                        2nd generation Intel(R) Core(TM) processor family
    *  Date: December 23 2010
    Unfortunately the latest drivers are'nt always the best... at least not for us.
    Thanks Chris for your help, i still can upload the DMP file to see where it was going wrong. I'll email them ASAP.
    I hope that I can help some people with this post.

  • Continuous averaging for a certain amount of time

    Hi
    In my program I have to use a start button to continuously average a value for a certain amount of time(lets say 3s) and keep and show the average the value. The state of the start button should return to off mode after that 3 sec so if the user hit the start button again it reset the array and calculate the average again.
    Would you please help me with this program. I have attached pic of what I ahev done
    With this vi I can take data after hitting start for 3 sec but I have these problems:
    1- I don't know how to calculate average value when finish getting data after 3 sec
    2- I would like the start button back to off mode after 3 sec so if I click on the start button again it reset the array and calculate the average again.
    Would u plz help me with this vi?
    Attachments:
    1q.jpg ‏169 KB

    Use mean function to average an array. And wire your time has elapsed boolean to a case structure and reinitialise your boolean control to default in the true case.
    Create invoke node as below, just in case you dont know.
    Beginner? Try LabVIEW Basics
    Sharing bits of code? Try Snippets or LAVA Code Capture Tool
    Have you tried Quick Drop?, Visit QD Community.

  • Perform each task for certain amount of time

    Hey,
    The program I'm trying to create is a very linear one and involves performing three different processes after one another, each for a set amount of time.
    I originally tried using case statements and timers to do this, but everything got very messy very quickly. I then looked at sequence structures however have read some bad things about them.
    Could anyone point me in the best direction to achive this?
    Thanks,
    Sam.

    Sam_R, Yamaeda is right. Sometimes things are so simple that you do not need a state machine. But sometimes you end up adding features to your simple little program and it ends up growing out of control. Trust me
    There are a million examples of state machines out there. This makes a million and one. It does not address the part of your question about performing an action for a certain amount of time. I wanted to keep it as simple as possible while also demonstrating programmatically determining the next state and error handling.
    I don't mean to sound condescending with this basic example. But I know there was a time when it seemed like advanced stuff to me. Hopefully someone will find this useful.
    =====================
    LabVIEW 2012
    Attachments:
    State Machine.vi ‏12 KB

  • Do i have to charge my replacement macbook pro batter for a certain amount of time before using the computer?

    do i have to charge my replacement macbook pro batter for a certain amount of time before using the computer?

    First, if you have a Late 2008 or older MacBook Pro, you should calibrate the battery, as the battery for these MacBooks don't come precalibrated > http://support.apple.com/kb/HT1490?viewlocale=en_US&locale=en_US
    Then, the battery should come charged, so use it until the battery percentage is low, and then, charge it. You can use your Mac while your battery is being charged, and your MacBook will stop charging the battery when your battery is full, so you can unplug it at any moment

  • Why does my iPad mini stop responding to wifi after a period of time?

    Why does my iPad mini stop responding to wifi after a period of time?
    For example, I can connect to wifi and use Safari and my iPad's interet capabilities with no problem. But if I then leave my iPad alone for an hour - when I go back to using it, it still shows as being connected to the wifi, but is unresponsive - i.e. web pages will not load etc. - I have to disconnect and reconnect to the wifi to make it responsive.
    In advance, thanks

    Try #5
    Some things to try first:
    1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
    2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
    3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
    4. Go into your router security settings and change from WEP to WPA with AES.
    5.  Renew IP Address: (especially if you are droping internet connection)
        •    Launch Settings app
        •    Tap on Wi-Fi
        •    Tap on the blue arrow of the Wi-Fi network that you connect to from the list
        •    In the window that opens, tap on the Renew Lease button
    ~~~~~~~~~~~~~~~~~~~~~~~~~
    iOS 6 Wifi Problems/Fixes
    How To: Workaround iPad Wi-Fi Issues
    http://www.theipadfan.com/workaround-ipad-wifi-issues/
    Another Fix For iOS 6 WiFi Problems
    http://tabletcrunch.com/2012/10/27/fix-ios-6-wifi-problems-ssid/
    Wifi Doesn't Connect After Waking From Sleep - Sometimes increasing screen brightness prevents the failure to reconnect after waking from sleep. According to Apple, “If brightness is at lowest level, increase it by moving the slider to the right and set auto brightness to off.”
    Fix For iOS 6 WiFi Problems?
    http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
    Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
    http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
    How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
    http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
    iOS 6 iPad 3 wi-fi "connection fix" for netgear router
    http://www.youtube.com/watch?v=XsWS4ha-dn0
    Apple's iOS 6 Wi-Fi problems
    http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
    ~~~~~~~~~~~~~~~~~~~~~~~
    How to Fix a Poor Wi-Fi Signal on Your iPad
    http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
    iOS Troubleshooting Wi-Fi networks and connections  http://support.apple.com/kb/TS1398
    iPad: Issues connecting to Wi-Fi networks  http://support.apple.com/kb/ts3304
    WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
    How to Fix: My iPad Won't Connect to WiFi
    http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
    iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
    iOS: Recommended settings for Wi-Fi routers and access points  http://support.apple.com/kb/HT4199
    How to Quickly Fix iPad 3 Wi-Fi Reception Problems
    http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
    iPad Wi-Fi Problems: Comprehensive List of Fixes
    http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
    Connect iPad to Wi-Fi (with troubleshooting info)
    http://thehowto.wikidot.com/wifi-connect-ipad
    Fix iPad Wifi Connection and Signal Issues  http://www.youtube.com/watch?v=uwWtIG5jUxE
    Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
    How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
    Unable to Connect After iOS Update - saw this solution on another post.
    https://discussions.apple.com/thread/4010130
    Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
    ~~~~~~~~~~~~~~~
    If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
     Cheers, Tom

  • Safari quits automatically after certain amount of idle time.

    I am having a problem with my Safari quiting after a certain amount of system idle time. It could be as little as 5 minutes. I honestly don't know as I really haven't tried to figure out the exact time. Though I've been away as little as 15 minutes to come back and find that Safari as quit.
    I do close the last window of Safari, but I've been doing that for years. I've only noticed that it's quitting by the fact that the little "light" at the bottom of the icon is missing. And that it bounces 1 or 2 times when I click on it. As well as the fact that I am not getting notifications, like eBay.
    I have to admit that I was playing around with an Apple Script to have it quit Safari automatically after some system idle time. However, I can no longer find that Apple Script or the app. Heck, I can't even remember the name. However, I couldn't get the script correct as it never worked. I was doing this because my mother would leave a lot of windows/tabs open on her Mac and would use 50% plus of the CPU at times, even at "idle". I was doing this in Mt Lion, but once Mavericks came out. Her CPU usage has dropped down to less than 5%
    So my questions are... How can I find this Apple Script that I created nearly a year ago? Why all of sudden does it start to work, which is with in the last several days to a week? Could it be something else that's making it quit?
    The only thing that was a "huge" change was the addition of Garmin Express app to update my mother's GPS. (Wish that I did it on her Mac) However, this was installed last night.
    Oh, there was another thing. I've tried to use this Mac as a target boot disc to a pre-2008 MBP 17', non-unibody. And I also tried to use that same MBP as a target disc on this Mac. Used a firewire 800. This was done about a week ago.
    Thank you,
    KOT

    More important information: This only happens under an account that has the Parental Controls enabled. The main Admin account does not have this problem of Safari quitting out.

  • Flash XML Slideshow - Load next image after set amount of time

    I'm creating flash xml slideshow and have managed to get the
    images to load from the XML file. What I want to do now is have a
    timer that loads the next image after x amount of seconds. Any help
    would be great.
    Code sample
    stop();
    // Create XML Object
    slideshow_xml = new XML();
    // Start slideshow once XML file is loaded
    slideshow_xml.onLoad = startSlideShow;
    //Load XML file
    slideshow_xml.load("slideshow.xml");
    //Ignore Whitespace in XML Document
    slideshow_xml.ignoreWhite = true;
    //Create Function for Slideshow - Shows first slide and
    initalises variables
    function startSlideShow(success) {
    if (success == true) {
    rootNode = slideshow_xml.firstChild;
    totalSlides = rootNode.childNodes.length;
    firstSlideNode = rootNode.firstChild;
    currentSlideNode = firstSlideNode;
    currentIndex = 1;
    updateSlide(firstSlideNode);
    function updateSlide(newSlideNode) {
    imagePath = newSlideNode.attributes.jpgURL;
    slideText = newSlideNode.firstChild.nodeValue;
    loadMovie(imagePath, loadTarget);
    }

    Ok I've managed to get most of this working including the
    alpha fade in. I haven't been able to get the images to fade out
    (fadeImageOut function) so if someone can tell me what I'm doing
    wrong. Also should I have some sort of preloader function for when
    each image loads? and if so any pointers, then it should be done
    except that I might need to add some text for each image in the XML
    file.
    stop();
    var container:MovieClip =
    this.createEmptyMovieClip("container", this.getNextHighestDepth());
    var loader1:MovieClip = this.createEmptyMovieClip("loader1",
    this.getNextHighestDepth());
    var loader2:MovieClip = this.createEmptyMovieClip("loader2",
    this.getNextHighestDepth());
    container._x = 0;
    container._y = 0;
    function fadeImageIn() {
    var fadeTween = new mx.transitions.Tween(loader1, "_alpha",
    mx.transitions.easing.Regular.easeIn, 0, 100, 1.5, true);
    loadmovie(imagePath, loader1);
    function fadeImageOut(loader1) {
    var fadeTween = new mx.transitions.Tween(loader1, "_alpha",
    mx.transitions.easing.Regular.easeOut, 100, 0, 1.5, true);
    unloadMovie(loader1);
    // Create XML Object
    slideshow_xml = new XML();
    // Find out what this does
    slideshow_xml.onLoad = startSlideShow;
    //Load XML file
    slideshow_xml.load("slideshow.xml");
    //Ignore Whitespace in XML Document
    slideshow_xml.ignoreWhite = true;
    //Create Function for Slideshow - Shows first slide and
    initalises variables
    function startSlideShow(success) {
    if (success == true) {
    rootNode = slideshow_xml.firstChild;
    totalSlides = rootNode.childNodes.length;
    firstSlideNode = rootNode.firstChild;
    currentSlideNode = firstSlideNode;
    currentIndex = 1;
    updateSlide(firstSlideNode);
    function updateSlide(newSlideNode) {
    imagePath = newSlideNode.attributes.jpgURL;
    slideText = newSlideNode.firstChild.nodeValue;
    //loadMovie(imagePath, loader1);
    fadeImageIn();
    function nextSlideImage() {
    nextSlideNode = currentSlideNode.nextSibling;
    if (nextSlideNode == null) {
    rootNode = slideshow_xml.firstChild;
    totalSlides = rootNode.childNodes.length;
    firstSlideNode = rootNode.firstChild;
    currentSlideNode = firstSlideNode;
    currentIndex = 1;
    updateSlide(firstSlideNode);
    } else {
    currentIndex++;
    updateSlide(nextSlideNode);
    currentSlideNode = nextSlideNode;
    slideTimer = setInterval(nextSlideImage, 5000);

Maybe you are looking for

  • AED for import purchase of  capital goods.

    Hi guys, We are executing the import flow for capital goods.In this case we also have the AED for customs(4%) applicable.In case of AED for customs we can take credit of 100% in the 1st year itself even for capital goods.But the problem is that after

  • Weird problems with 2007 15" MBP after installing new HD, any solution?

    Folks- For a couple of months my machine has been really weird. (1) Safari will not work. Firefox does, other internet apps do, but no Safari. (2) everything is ever slower. Spinning beachballs constantly. (3) won't remember home wifi network. It rem

  • No X11 DISPLAY variable was set

    Hi, UCM 11g is installed in the unix server. I connected to the server thru putty and run the batch loader (/.BatchLoader.sh), im getting the below error. No X11 DISPLAY variable was set, but this program performed an operation which r equires it. at

  • Sockets and system freezes

    I have a server written in C that uses sockets to get datagrams from my Java GUI "client" (i.e. a Java program on the same machine). In actuality the bulk of the C code is provided to me as an object file and uses PVM to communicate with a C client (

  • Iphone 6 plus crashing itunes in Windows 7

    Can't synch new iphone 6 plus (64G) with itunes 12.0.1.26 in Windows 7.  iphone 5 synched just fine to computer backup prior to purchasing iphone 6 plus--two hours later it's crashing... "iTunes has stopped working A problem caused the program to sto