Open GoogleCodeExporter opened 9 years ago
Note, this is similar, but not quite the same as issue 8
Original comment by brianmg...@gmail.com
on 13 Jan 2010 at 4:24
Brian, I'm the owner of Issues 11 and 12. See as how there does not seem to be
a lot
of activity on updating this project - have you found any solution to this
problem
yet? I was going to start looking into it, but figured i would ask if you had
figured out anything yet?
Thanks!
-Weston
Original comment by WestonMc...@gmail.com
on 11 Mar 2010 at 4:03
Hi Weston,
Not really. I use FlexSpy.registerKey() to open FlexSpy with a shortcut key.
You
can pass that method a root DisplayObject, and for a while I was passing it a
reference to stage. This actually did reveal the popups, but it meant that by
default (if there were no popups), Main was not selected, which was a bigger
inconvenience.
I am trying to remember, but this might have only been an issue on modal
popups.
Hope some of that helps!
Thanks,
Brian
Original comment by brianmg...@gmail.com
on 11 Mar 2010 at 7:39
Thanks Brian! I'll try passing the stage object. Perhaps i can add a hook to
focus on the main app if no modal
windows are detected. Thanks again.
Original comment by WestonMc...@gmail.com
on 12 Mar 2010 at 2:07
Update the method listWindows() of ComponentTreeWnd action script
(flexspy/imp/ComponentTreeWnd.as) as below. It will let FlexSpy to spy both
modal and modeless popups:
private function listWindows(windowsArray:ArrayCollection, list:IChildList): void{
for (var i:int=0;i<list.numChildren;i++) {
var currentWindow:DisplayObject = list.getChildAt(i);
if (currentWindow == _instance) {
break;
}
if (currentWindow.name.toString() != "modalWindow"){
windowsArray.addItem(currentWindow);
}
}
}
Original comment by javaspar...@gmail.com
on 20 Jan 2011 at 7:23
Attached the updated file
Original comment by javaspar...@gmail.com
on 20 Jan 2011 at 7:25
Attachments:
Original issue reported on code.google.com by
brianmg...@gmail.com
on 13 Jan 2010 at 4:23