Flash stops after 36 hours from running...
hi friends,
i have a problem since 2 weeks.. i write a as3 program. Program is getting data from xml files (4 files) and display to the screen between 30 seconds spaces. But program is running no error 36 hours. After 36 hours flash say this error code and stops.
Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.
at flash.utils::Timer/tick()
Error: Error #1503: A script failed to exit after 30 seconds and was terminated.
at fl.managers::FocusManager/removedHandler()
Error: Error #1502: A script has executed for longer than the default timeout period of 15 seconds.
at KCekmeceBelediyesi_SonrakindenDevam_tweensiz_fla::MainTimeline/akisaGoreGit()
at KCekmeceBelediyesi_SonrakindenDevam_tweensiz_fla::MainTimeline/akisaGoreGit()
at KCekmeceBelediyesi_SonrakindenDevam_tweensiz_fla::MainTimeline/sonrakiAkisaGececekHaber()
at flash.utils::Timer/_timerDispatch()
at flash.utils::Timer/tick()
what can i do ? thanks for relations.
hi, i have a few timers in my program.
and timers are very complicated in my codes.
and i am very carefull for use timers. i dont want every time write a new timer() command. i write every time " timer.delay= " but still error
for this reason i must c/p all code here. your solve is very long time. (there is 713 lines in my code) if you want i can sent fla file to you?
Similar Messages
-
I can't download Lion 10.7.2 from the App Store. It starts downloading but stops after anything from 5 mins to 5 hours! Help!!
I'm having the exact same problem with a dual core iMac. Absolutely driving me nuts...cleared out all my caches before starting; have restarted MANY times after every failure; plenty of RAM, plenty of GBs on HDD; all else updated and my broadband working fine.
Can anyone help on this? -
Stopping a thread from running
Hai
I am new to java. It would be helpful for me if someone helps me out in doing this.
Actually in my program ,I should
i. Find out whether a particular file exists in the given directory or not.
ii. If the file doesn't exist, my program should wait for certain timeframe and check for the same file again.
iii. If the program cannot find the required file within the timeout specified, my application should exit.
I have done (i) and (ii) using threads. But in the case of (iii), I came to know that stop() method is depricated.
I am providing my code for a better understanding. Could you please let me know, what would be the best way to stop the thread from running after the timeout is reached in my program?
Thanx in advance
import java.io.File;
public class Fileexists implements Runnable
static Thread t;
public static void main(String[] args)
System.out.println("creation of object");
FileExists test = new FileExists();
t = new Thread(test);
t.start();
// run method
public void run()
File f = new File("searchfile.txt");
boolean b = f.exists();
System.out.println();
if(b == false)
System.out.println("Required file doesnot exists");
try
t.sleep(20000);
catch (InterruptedException e)
// TODO Auto-generated catch block
e.printStackTrace();
t.run();
else
System.out.println("Required file found");
} // end of run()
} // end of FileExists classActually your use of threads is a difference which makes no difference. The JVM starts an initial thread and runs your main(), at the end of which you start a thread and return. So you've just replaced one thread with another. There's no parallel processing.
The t.run() at the end of your run() method won't work. A particular Thread object can only run once. It will give you an IllegalStateException.
I can't see how multi-threading will help you with this task at all, all you need is a simple loop with a Thread.sleep in it.
If you really want to use a separate thread or Timer to implement a timeout (as an exercise) then use Thread.interrupt() to wind up a thread. The looping thread should test with Thread.interrupted() in it's loop condition, if it's in sleep() when interrupted an InterruptedException will be thrown which you should catch and allow to break the loop and let the thread terminate.
So your loop structure looks like:
try {
while(!Thread.interrupted()) {
... do your test
Thread.sleep(.....);
System.out.println("Thread terminated by detecting interrupted");
} catch(InterruptedException ex) {
System.out.println("Thread interrupted from sleep");
You can get the Thread for the main thread simply by storing Thread.currentThread() in a Thread reference.
I'd suggest using a java.util.Timer to launch your time-out and leave the loop on the main thread started by the JVM. -
Stop Oracle.exe from running in background?
Hi,
Since I installed Oracle 8i Personal Edition for Win 2000 (SP1), I have seen a great slowdown of my computer. It now takes much longer to start up Windows, longer to open applications and games (UT),.. I check Task Manger and see that Oracle.exe is consuming about 84 MB of my computer memory.
Can someone help me stop Oracle.exe from running like this?
Thanks a lot in advance
Trung.Check Your services and set all related to Oracle to manual startup
If You need Oracle, You will manually start these processes -
DFS network drive giving error to many clients of Windows 7 and 8.1 after accessing from run
Hi,
My network drive (DFS) is giving below error after upgrade OS from windows 2008 to 2012. On many clients of windows 7 and 8.1 we are able to resolve
by rebooting the system or by net use * /d command. But many user still getting error after accessing from mapped drive as well as from RUN command.
some area stupid thing happening, after accessing from RUN like \\networkdrive then it will open successfully and show all the shared folder. When we
click on particular shared folder it gives below error message and some works perfectly fine. Even though that person have rights on both the shared folder.
"""""check to make sure that the disk is properly inserted, or that you are connected to the internet or your network, and then
try again. If it still cannot be located, the information might have been moved to a different location. """"
Kindly suggest what should I do now?
Inder JoharHi Inder Johar,
Please check if clients could connect to \\domain\dfsroot and UNC path. You could refer to the article below to troubleshoot the issue:
DFS mapping error: Refers to a location that is unavailable
http://jthys.wordpress.com/2013/02/20/dfs-mapping-error-refers-to-a-location-that-is-unavailable/
Please Note: Since the website is not hosted by Microsoft, the link may change without notice. Microsoft does not guarantee the accuracy of this information.
It’s simple enough to use a tool like ROBOCOPY or the File Server Migration Tool (FSMT) to copy your previous created folders over to the new name space
\\networkdrive.
Robocopy
http://technet.microsoft.com/en-us/library/cc733145.aspx
Microsoft File Server Migration Toolkit 1.2
http://www.microsoft.com/en-us/download/details.aspx?DisplayLang=en&id=10268
Regards,
Mandy
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
installation of Flash stops after 30% complete, plugins and java are enabled in the browser and all browsers are closed.
Hi,
I'm assuming you're machine is OS X (please include this in the future, avoids assumptions). Are you using anti-virus software, if so, if you stop/exit the anti-virus software, does the installation proceed?
If not, or if the installation still does not proceed after stopping the anti-virus software, please try the offline installer, posted at the bottom of the Installation problems | Flash Player | Macpage, in the 'Still having problems' section.
Maria -
How can I stop my battery from running out in my in my iphone 5 with the new i0s7
how can I stop my battery from running at a super fast rate on my in my iphone 5 with the new i0s7, ever since I upgraded I am needing to charge up at least 3 times a day.
https://discussions.apple.com/message/23361957#23361957
-
How can I permanently stop Backup Asisstant from running in the background?
Backup Asisstant plus is constantly running in the background of my phone. It is annoying and I can not even open it up under the "manage accounts" section of my phone. When I do this it just has the blue circle spinning forever and ever never openning up at all. Is there a way to fix this or am I just stuck battling this stupid app day after day. It came with the Verizon phone, but I had this before and customer service was able to stop it from running all the time. Now I get told there is nothing Verizon can do. So how can I stop this app permanently and why is there so much comflicting information coming from Verizon agents and its website? I cant seem to get a solid answer.
I have a galaxy s3. The backup assistant just freezes my phone. It is always running in the background draining memory from my phone slowing it down. It is beyond annoying since even after a hard reset I can not even access the Backup Assistant + to manually change settings, so I would just like it to stay off. It has not helped me recover much in the way it was advertised.
-
I run a simple shadow action, but after it is running for 30 min the Photoshop just crashed and there is nothing in the log file. The action in this period adjust 2298 items. Is the any limitation or what can cause this crash?
From the windows I get this log:
Problem signature:
Problem Event Name: APPCRASH
Application Name: Photoshop.exe
Application Version: 15.0.0.58
Application Timestamp: 536b438e
Fault Module Name: Photoshop.exe
Fault Module Version: 15.0.0.58
Fault Module Timestamp: 536b438e
Exception Code: c0000005
Exception Offset: 00000000016c5f55
OS Version: 6.1.7601.2.1.0.256.48
Locale ID: 1038
Additional Information 1: 7968
Additional Information 2: 79680a764f3c0cc390ff0ee35580c182
Additional Information 3: 241e
Additional Information 4: 241e62dc4664a7b2d598aeb643d7ae3d
Read our privacy statement online:
http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409
If the online privacy statement is not available, please read our privacy statement offline:
C:\Windows\system32\en-US\erofflps.txtLooks like cc 2014 Photoshop.exe crashed. However you state its a simple action that it was running over 30 minuets. You did not post the action of state wither you were batching the action. However you stated that 2298 items were updated. I do not know what you classify an item to be. If by item you mean image file and your batching the action. If the Action adds documents to Photoshop open documents and does not close then before ending the number of document open increases with each image file processed. After processing 2298 files the could be a countless number of open documents consuming RAM and scratch space your machine may have simply ran out of resources and Photoshop crashed which freed up the consumed resources.
-
I need an app that stops background apps from running when phone is sleeping
i need and app that stops background apps (or maybe all apps) from running when phone is sleeping. thx!
Too bad. When I had a Droid there was an app that you could set which apps to quit and which to leave running. Just convenient rather than having to go through the apps bar repeatedly and quit apps individually. It is not an intrusion to control the phone or quit other running apps... it's my choice... Ooops! My mistake. Forgot that I no longer have free will in what I do. The Company knows better.
-
How do I stop a query from running when the page is loaded
Hi All,
I'm using JDeveloper 10.1.3.4. I have a JSPX page that is used to collect search parameters and then when a button is clicked uses those values to run a query and then populate a table on the same page. The problem is that when the page is loaded the system attempts to run the query. The query is a method in a session bean. I can keep the method from running the query code by wrapping it in an 'if' statement and checking the parameters for null (or other value). Once the parameters are collected the query is invoked but it looks like the method is running twice, once with the parameters (here I've checked that the result actually has rows in the list) and then again where the parameters are null and the method returns null.
What is the best way to do what I want here? From the buttons action method I am called the session beam method and returning null to stay on the same page. I think that is why the method is running the second time and returning null.
TIA,
DaveHave a look at these screen casts from Steve Muench and see if one of these techniques works for you, or gives you the clue you need.
Creating Three Simple Search Pages with ADF Business Components and ADF Faces (JSF)
Part 1: Web-Style Search Form
Part 2: Oracle Forms-Style EnterQuery/ExecuteQuery Mode Page
Part 3: Search Form Using View Object with Named Bind Parameters
I had trouble viewing these with Firefox, but they worked in Internet Explorer. -
Stop analyze.exe from running
I am running ZCM 10.3. One workstation with ZCM agent installed kept getting error running analyze.exe and crashed her XP PC. I like to disable analyze from running as I only have a few PCs with the ZCM agent installed and I plan to build a new ZCM 11 server and roll out ZCM 11 as a new system.
Login to ZCC but couldn't find the option to disable the scan....
Any suggestion would be appreciated.
WilsonWilsonhandy,
disable ZPM? With 10.3.3/11.1 you have the option to schedule the DAU,
but otherwise it's going to run each day...
Shaun Pond -
How to stop as files from running until a certain frame
Hi all,
I have a simple flash game with two frames at the moment.
Most of the stuff that happens is in as files linked to
different movie clips.
I orignially only had one frame my background frame and when
testing I just press ctl+enter and bamm away it goes the
actionscript runs as soon as the movie/game starts and ergo the
game plays.
My problem is this, I now want to have a start/home frame at
the beginning (of course) which has the start game button on which
when clicked THEN starts the game.
Currently the game starts in the first frame along with the
start button :(
How do I stop the game running straight away and my first
frame only contains the start button, which when clicked then goes
to the 2nd frame and starts the game?
Reagrds,
Red.A friend resolved the issue for me;
By renaming the main contrustor and calling this in the start
button Example action script applied to the button:
START OF ACTION SCRIPT
import flash.events.MouseEvent;
stop();
startBTN.addEventListener(MouseEvent.CLICK, startClick);
function startClick(event:MouseEvent):void
trace ("Button clicked");
gotoAndStop(2);
gameGo();
/*gameGo() is the renamed main document class, renaming it
prevents it from been run instanly
and it is called from the button*/
END OF ACTION SCRIPT -
I have a 27 in. iMac OS X, Version 10.7.5, Intel Core i5 and have a problem with the very loud and annoying fan running continuously. The fan starts up immediately upon powering up and stays on all the time. I have researched this on the internet and have tried resetting the SMC unsuccessfully. Should I try fan control software?
To reset the SMC means to reset the power management settings for your Mac. To do this, follow these simple steps.
1) Shutdown your Mac by going to the Apple Logo in the upper left hand corner of the screen and selecting "Shut Down" from the drop down menu.
2) Turn your machine back on while continuing to hold down the power button.
3) After the initial boot chime, your power indicator light should flash three times.
4) Your screen will remain black and you will hear the boot chime again. At this point, you may release the power button and allow your Mac to boot up normally.
All the best with getting your Mac Mini to run smoothly. -
Stop jrun.exe from running
Hi guys anf girls,
My computer has been running pretty slow, so i did the
obvious and checked out the window task manager. There i had seen
an application "jrun.exe" eating a large chunk from my computers
processing power.
I had googled it to find out what it is, and I now know its
from my coldfusion installation, a server. I done my research to
see how to stop this, where by opening up jrun.exe and stopping it.
The thing is, after i cancel it, it starts up again.
Can anyone point me in the right direction in how to actually
stop it and then manually start it. I have tried using the
administrator page but i dont know where to go.
I am using coldfusion 7, the latest developer edition.
cheers
DarrenColdFusion runs as a service on windows. Several services
actually. The service names usually begin with ColdFusion MX 7. To
start or stop the services, use control panel > services. Select
each service, click properties then click stop or start.
If you do not want ColdFusion to start automatically when the
o/s boots, change the service properties from Automatic to
Manual.
Maybe you are looking for
-
What is the difference between SCXI-1349 adapter and DIO-24 adapter(in SCXI-1353 assembly)
I have an SCXI 1353 cable assembly. How do I differentiate between these two adapters ?
-
What is going on with UIScrollView
Hi everyone, I defined my own ZoomScrollView Class as a sub-class of UIScrollView and find something I do not understand. Here is my code: #import <UIKit/UIKit.h> @interface ZoomScrollView : UIScrollView { @end and #import "ZoomScrollView.h" @impleme
-
RFFOEDI1 IDOC Control Header - How can multiple payments be included?
When running RFFOEDI1, instead of one payment within one IDOC Control Header (ST=Segment Header), we have a requirement to include multiple IDOC payments within one Control Header. How is this accomplished? Thanks in advance, Scott
-
Hi, We are using DM Dynamic Work flow in Project Server 2010 environment. When we tried to create a project the project is creating and teh workflow is not starting-- in the queue jobs the start work flow is failing withput blocking correlation -- be
-
Hi.... Good morning
Hi..why I can't download apps from apple store.?