PDA

View Full Version : Every function getting called on start up


BitPail
09-27-2007, 02:59 PM
I'm having this really annoying problem happening, upon startup of the application, every function is getting called at least once, even on methods that are not even called any where else. For example, I can add a new function called foo, nothing calls foo, but I can put a break point at the first line of foo and the breakpoint is hit upon every startup.

Does anyone know whats going on here? I've had this problem for awhile now and its messing up my webservice component.

flexy
09-27-2007, 03:07 PM
Can you post an example? When you apply the breakpoint, do you place it within the function's contents or on the same line as the function declaration?

BitPail
09-27-2007, 03:12 PM
private function foo():void
{
var i:int = 0; //Place the break point here or the next line in any method
}