Comments (4)
Just figured out the code... it was really simple! In the computerChildren()
method
of ComponentTreeItem, simply add this code:
if (component is SWFLoader){
var swfLoader:SWFLoader = component as SWFLoader;
var content:SystemManager = swfLoader.content as SystemManager;
if (content && content.application){
children.push(new ComponentTreeItem((content.application as Application), this));
}
}
Original comment by [email protected]
on 26 Oct 2009 at 9:52
from fxspy.
Actually... updated... The additional code should come before the "add the
'Standard
Children' code, and should return. We do not want any 'standard' children
added for
the SwfLoader, else the FindComponent utility will not work correctly.
if (component is SWFLoader){
var swfLoader:SWFLoader = component as SWFLoader;
var content:SystemManager = swfLoader.content as SystemManager;
if (content && content.application){
children.push(new ComponentTreeItem((content.application as Application), this));
}
return children;
}
// Add the "standard" children
Original comment by [email protected]
on 28 Oct 2009 at 8:12
from fxspy.
HI All
I found the same issue , but i added this code into corresponding
ComponentTreeItem.as. when i compiled, i got new flexspy.swc. when i tried to
add
this into my application project lib and run the app. i got an error
---- Illegal override of FlexModuleFactory in mx.core.FlexModuleFactory.
i am using flex sdk 3.2 to compile
Please help me on this
Original comment by [email protected]
on 29 Dec 2009 at 2:01
from fxspy.
Thanks Weston, this worked like a champ for me:
if (component is SWFLoader){
var swfLoader:SWFLoader = component as SWFLoader;
var content:SystemManager = swfLoader.content as SystemManager;
if (content && content.application){
children.push(new ComponentTreeItem(DisplayObject(content.application), this));
}
return children;
}
Original comment by [email protected]
on 3 May 2010 at 11:49
from fxspy.
Related Issues (19)
- FxSpy as desktop AIR application HOT 2
- FlexSpy 1.2 source download doesn't contain all AS files HOT 1
- Flex Spy's iniatilzed Height and Width should be configurable.
- issue with solution given to defect ID 12
- [New Feature Request] HOT 1
- Modal popups do not appear in the FlexSpy dropdown HOT 6
- how to spy objects inside the canvas layout
- does flexspy supports flex4 sdk HOT 6
- (Hopefully) Simple feature request
- compile error on textFieldStyleName on Flex 3.6 Air 2.6
- Exception thrown when selecting components HOT 4
- FlexSpy default root should be system manager HOT 10
- Parent property to set the output window
- Filterlist and save css styles to file
- too height HOT 1
- Popups are not considered by FlexSpy HOT 3
- Popups are not considered by FlexSpy HOT 1
- Executing class methods? Flexspy console/shell
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fxspy.