Forum Discussion

bapilado's avatar
bapilado
New Contributor
16 years ago

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.

1 Reply

  • Hi,



    The OnUnexpectedWindow event works with modal dialogs. As for an event which would occur on creating new objects, there's no way to do this.