To know which process has locked a file, you may use Process Explorer. It can shows you information about which handles and DLLs processes have opened or loaded the file that is locked.
- Click the Find menu, and choose Find Handle or DLL…
- Type the file name (this is the name of the file that you cannot access/delete)
- After typing the search phrase, click the Search button
- Once it returns the list of application that is accessing your file you can either close the application manually or use Process Explorer to terminate it
Tags:
If you are using the Flash Debugger Player like I do to debug your work , you will soon to realized that the newer versions of Firefox tends to crash whenever the debugger prompts a warning. This is happening because Firefox will kill the debug session and cause it to crash Firefox. Here’s a solution to it
1. Goto addresss bar and type in about:config
2. Click on the I’ll be careful, I promise button.
3. Type dom.ipc.plugins.timeoutSecs
4. Find value and double click and change the value to -1
Viola and now your flash debugger player will stop crashing each time it throws a warning as you have changed the default timeout value from 45 to unlimited.
Tags:
Here’s a fast way to find what’s your application base path. Why do you need to do this ? This is extemely handy when you are trying to figure where your files are hosted on the hosting company. It’s not always easy to figure out this path.
Response.Write(System.AppDomain.CurrentDomain.BaseDirectory)
Tags:
Here’s a quick solution to the error ReferenceError: Error #1069: Property startDrag not found on flash.text.TextField . This normally happens when you are trying to get the TextField to drag.
textField.addEventListener(MouseEvent.MOUSE_DOWN, drag);
textField.addEventListener(MouseEvent.MOUSE_UP, drop);
// by setting mouseChildren = false it makes the drag function to use the container
// of the movie clip rather than the compenent within the movieclip.
// This is where the ReferenceError: Error #1069: Property startDrag
// not found on flash.text.TextField is coming from
textField.mouseChildren = false;
textField.text1.selectable = false;
function drag(e:MouseEvent):void {
e.target.startDrag();
}
function drop(e:MouseEvent):void {
e.target.stopDrag();
}
Tags:error 1069·startdrag·stopdrag·textfield