bapilado
16 years agoNew Contributor
Custom Event Handler based on detection of flash object
Is there a way to create an event handler based on the detection of an object?
Basically, I have a flash application that, when certain events occur, a new flash object (something like a pop-up) appears. I am currently handling these new objects by simply calling a function with the method: .FindChild after every button click or every so often within the test script. I noticed the GeneralEvents.OnUnexpectedWindow event handler, but I assume that it is for new processes and not for child objects.
I would like to have that function run in the background, like an event handler.
Basically, I have a flash application that, when certain events occur, a new flash object (something like a pop-up) appears. I am currently handling these new objects by simply calling a function with the method: .FindChild after every button click or every so often within the test script. I noticed the GeneralEvents.OnUnexpectedWindow event handler, but I assume that it is for new processes and not for child objects.
I would like to have that function run in the background, like an event handler.