0 Replies Latest reply on Jul 5, 2008 12:53 AM by sandwicense

    Open Tree Items Using Rows

      In my Tree component I want to open tree nodes by just clicking on the row in which they lay. I found source code on a Flex Blog that had a tutorial on how to do this. My problem is, I don't exactly know how to implement it into my code to function with the rest of the ActionScript. Here is the link to the blog.

      Here is where I think I need to add in the AS3 code from the blog (below is part of my source):

      private function collectionSelect(event:ListEvent):void {
      ------------------------------------------------------------------------------------------ ----------------------------------------------
      Also one more thing. When I click a branch node (folder), why is it I always get this AS3 Error:
      Does it only show up if a user has the debug version of Flash Player? How do I prevent this error if a user happens to have the debug version of Flash Player?

      Error #2044: Unhandled ioError:. text=Error #2032: Stream Error.
      at nMuseum/loadMyXML()
      at nMuseum/collectionSelect()
      at nMuseum/__tree_itemClick()
      at flash.events::EventDispatcher/dispatchEventFunction()
      at flash.events::EventDispatcher/dispatchEvent()
      at mx.core::UIComponent/dispatchEvent()
      at mx.controls.listClasses::ListBase/mouseClickHandler()
      at mx.controls::Tree/mouseClickHandler()