Installation instructionsFollow these steps to setup Flex-Spy in your Flex 2.0 application: - In Flex Builder, open the Properties window of your project (Project menu > Properties)
- On the left side of the Properties window, select Flex Library Build Path.
- On the right side of the Properties window, select the Library path tab.
- Click the Add SWC... button
- Select the flexspy.swc file that you downloaded (from the Downloads section) and click OK.
- Add a button somewhere in your Flex application to show the Flex-Spy window:
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
...
<mx:Script>
<![CDATA[
import com.flexspy.FlexSpy;
]]>
</mx:Script>
...
<mx:Button id="btnFlexSpy" label="FlexSpy" click="FlexSpy.show()" />
...
</mx:Application>
|
In Flex 3 noticed that the top of FlexSpy? was too high in browser to see the top ControlBar?. was able to reduce the FlexSpy? height by modifying line 83 of ComponentTreeWnd?.as, setting this.height = 578;
Thanks once again for such a great component
When you only have Flex SDK (not FlexBuilder?), how to change the command line compiler to accept FlexSpy? ???
Many thanks...
Hi Patrick you can specify the library path mxmlc -library-path+=c:/myfiles
With Regards Ajay K http://mxml.wordpress.com
Included FlexSpy?? in my project that are built with 3.1.0.2710 Flex web tier compiler and get this exception:
01/09 17:49:01 ERROR java.lang.NullPointerException at flex.webtier.server.j2ee.BaseCompileFilter.getDependenciesFromCompilationUnits(BaseCompileFilter.java:215) at flex.webtier.server.j2ee.IncrementalCompileFilter.compileMxml(IncrementalCompileFilter.java:114) at flex.webtier.server.j2ee.BaseCompileFilter.mxmlToSwf(BaseCompileFilter.java:322) at flex.webtier.server.j2ee.BaseCompileFilter.invoke(BaseCompileFilter.java:60) at flex.webtier.server.j2ee.RecompileFilter.invoke(RecompileFilter.java:37) at flex.webtier.server.j2ee.PathExistsFilter.invoke(PathExistsFilter.java:42) at flex.webtier.server.j2ee.MxmlServlet.doGet(MxmlServlet.java:176) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at javax.servlet.http.HttpServlet.service(HttpServlet.java:820) at flex.bootstrap.BootstrapServlet.service(BootstrapServlet.java:114) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:487) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1097) at org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:96) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) at org.springframework.orm.hibernate3.support.OpenSessionInViewFilter.doFilterInternal(OpenSessionInViewFilter.java:198) at org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:76) at org.mortbay.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1088) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:360) at org.mortbay.jetty.security.SecurityHandler.handle(SecurityHandler.java:216) at org.mortbay.jetty.servlet.SessionHandler.handle(SessionHandler.java:181) at org.mortbay.jetty.handler.ContextHandler.handle(ContextHandler.java:729) at org.mortbay.jetty.webapp.WebAppContext.handle(WebAppContext.java:405) at org.mortbay.jetty.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:206) at org.mortbay.jetty.handler.HandlerCollection.handle(HandlerCollection.java:114) at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:152) at org.mortbay.jetty.Server.handle(Server.java:324) at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:505) at org.mortbay.jetty.HttpConnection$RequestHandler.headerComplete(HttpConnection.java:829) at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:513) at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211) at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:380) at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:395) at org.mortbay.thread.QueuedThreadPool$PoolThread.run(QueuedThreadPool.java:488)Thanks so much!!!! I love it