many thanks for efforts Keith, it's given me a head start into the
project.
I have hit an error though: - using Flex Beta3/FlexBuilder3b3/ Flash
9.0.115.0 (moviestar)
TypeError: Error #1009: Cannot access a property or method of a null
object reference.
at FlexVisualGraph/initData()[/Users/barry/Documents/eclipse_3311/
workspace/FlexVisualGraph/src/FlexVisualGraph.mxml:153]
at FlexVisualGraph/handleHTTPResult()[/Users/barry/Documents/
eclipse_3311/workspace/FlexVisualGraph/src/FlexVisualGraph.mxml:114]
which boils down to:
startRoot = graph.nodeByStringId("vizgraph").vnode;
when it starts fetching the XML, startRoot is NULL. Can't prove it yet
but I suspect it's waiting for the webservice to return the XML before
startRoot gets a value.
It does eventually load and work fine.
also getting a couple of warnings:
WARNING: setting a new graph object invalidates the root node, a new
default root node was set, but it may not be what you want
warning: unable to bind to property 'association' on class
'XML' (class is not an IEventDispatcher)
any suggestions on what to try to debug this further?
many thanks
barry.b
On Feb 2, 6:51 am, "Keith Sutton" <
keith.sutton...@gmail.com> wrote:
> JB,
>
> As long as it works. A would appreciate your testing what I have done so to
> make sure it doesn't give anyone headaches. I am working on bringing the
> functionality that was developed in the demo mxml into a base or abstract
> class that extends VisualGraph named "VisualizationManager". This would be
> extendable for anyone building specialized functionality and would
> encapsulate code as a component - that what there would be less logic
> required in the xmxl application class.
>
> Interested in the new demos.
>
> Regards,
> Keith
>