| Issue 3: | FlexSpy default root should be system manager | |
| 3 people starred this issue and may be notified of changes. | Back to list |
FlexSpy is great. There are a couple of limitations however: 1) FlexSpy's default root is Application.application. This causes anyone using to not see a large portion of their page in the object tree. 2) FlexSpy's 'Find Component' feature is somewhat inaccurate. It doesn't always narrow down to the last component in a tree. For example: You cannot use the Find Component button to figure out what are the contents of a grid cell. I've added some code which seems to solve these 2 issues. Please review, and feel free to use this as you please. The default root is now Application.application.systemManager, so you can see the entire page hierarchy. The only potential drawback, is in order to get this working, I had to set "includeChrome" to false when calling ComponentTreeItem.getHitComponent(). While this prevents chrome from being targeted, it greatly increases the number of other components that are targetable. Hope you find this helpful. -Hob |
|
,
Aug 27, 2008
This made FlexSpy work much better for me. Thanks! Shane http://www.shanedosch.com |
|
,
Dec 16, 2008
What do I do with that code? |
|
,
Dec 16, 2008
You'll need to get the FlexSpy source and replace the two files I've posted here. Then compile the source as a library project to get the swc. Either that or just add your flexspy source as a source path to your project in flex builder. |
|
,
Apr 30, 2009
Thanks for this patch. Really great! But i had to rename the classNames ComponentPropertiesEditor and StylePropertiesEditor to ComponentProperties and StyleProperties to get things working. Maybe the latest source download isn't up to date? |
|
,
Jun 15, 2009
anyone able to "Find Component" on popup dialogs? |
|
,
Jul 29, 2009
I believe this has been fixed in the 1.3 release, available in the downloads section. Although I haven't seen any update to the SVN repo or announcement. You'll notice a new option in the FlexSpy window that lets you pick different "root"'s. |
|
|
|