4 Replies Latest reply on Dec 14, 2007 8:48 AM by exPluda?

    flash TreeView menu and user interaction

    Level 7
      Hi,

      I've developed in Javascript a TreeView menu.
      I would like to do the same in Flash/AS but i do not know where to start :-(

      before to start i would like to know :
      - if it is possible to make this TreeView menu dynamic ?

      i mean by that that web developer could use this TreeView menu by adding
      several nodes and children to this menu like :

      MyFlashMenu.addChild("new node", "parent node", imageNode);

      but i do not know if from web page it is possible to pass arguments to
      flash.

      thanks a lot,

      A.
        • 1. Re: flash TreeView menu and user interaction
          Level 7
          i'm interesting in it too :-)

          R.A.F. wrote:
          > Hi,
          >
          > I've developed in Javascript a TreeView menu.
          > I would like to do the same in Flash/AS but i do not know where to start
          > :-(
          >
          > before to start i would like to know :
          > - if it is possible to make this TreeView menu dynamic ?
          >
          > i mean by that that web developer could use this TreeView menu by adding
          > several nodes and children to this menu like :
          >
          > MyFlashMenu.addChild("new node", "parent node", imageNode);
          >
          > but i do not know if from web page it is possible to pass arguments to
          > flash.
          >
          > thanks a lot,
          >
          > A.
          • 2. Re: flash TreeView menu and user interaction
            Level 7
            I've been using a 3rd-party treeview from GhostWriters. That tv would allow
            dynamic updates. We're doing it. I'm not familiar with the V2 component
            treeview (a built-in for Flash 8 and later), but I would imagine that would
            allow dynamic updates as well.

            There is an API to the Flash player that is embedded in your webpage that
            should allow you to pass commands to your tree. I don't have the
            documentation right in front of me but you should be able to find it quite
            easily through googling.

            Contact me offline if you'd like to discuss more.

            HTH,

            Marc Lee

            "R.A.F." <nospam@noemail.com> wrote in message
            news:fjrrvr$j3s$1@forums.macromedia.com...
            > Hi,
            >
            > I've developed in Javascript a TreeView menu.
            > I would like to do the same in Flash/AS but i do not know where to start
            :-(
            >
            > before to start i would like to know :
            > - if it is possible to make this TreeView menu dynamic ?
            >
            > i mean by that that web developer could use this TreeView menu by adding
            > several nodes and children to this menu like :
            >
            > MyFlashMenu.addChild("new node", "parent node", imageNode);
            >
            > but i do not know if from web page it is possible to pass arguments to
            > flash.
            >
            > thanks a lot,
            >
            > A.


            • 3. Re: flash TreeView menu and user interaction
              Level 7
              Sorry, I meant GhostWire, not GhostWriters...
              http://ghostwire.com

              -ML

              "Marc Lee" <marc@mlmultimedia.com> wrote in message
              news:fju6kl$97j$1@forums.macromedia.com...
              > I've been using a 3rd-party treeview from GhostWriters. That tv would
              allow
              > dynamic updates. We're doing it. I'm not familiar with the V2 component
              > treeview (a built-in for Flash 8 and later), but I would imagine that
              would
              > allow dynamic updates as well.
              >
              > There is an API to the Flash player that is embedded in your webpage that
              > should allow you to pass commands to your tree. I don't have the
              > documentation right in front of me but you should be able to find it quite
              > easily through googling.
              >
              > Contact me offline if you'd like to discuss more.
              >
              > HTH,
              >
              > Marc Lee
              >
              > "R.A.F." <nospam@noemail.com> wrote in message
              > news:fjrrvr$j3s$1@forums.macromedia.com...
              > > Hi,
              > >
              > > I've developed in Javascript a TreeView menu.
              > > I would like to do the same in Flash/AS but i do not know where to start
              > :-(
              > >
              > > before to start i would like to know :
              > > - if it is possible to make this TreeView menu dynamic ?
              > >
              > > i mean by that that web developer could use this TreeView menu by adding
              > > several nodes and children to this menu like :
              > >
              > > MyFlashMenu.addChild("new node", "parent node", imageNode);
              > >
              > > but i do not know if from web page it is possible to pass arguments to
              > > flash.
              > >
              > > thanks a lot,
              > >
              > > A.
              >
              >


              • 4. Re: flash TreeView menu and user interaction
                exPluda? Level 1
                I'm not sure I untherstand your problem, but yes, you can pass variables to the tree via url, but you'll need to use php or asp to manage the tree content.

                per example, you must use the loadVars objecto to load one url

                my_loadVars.load("my_url.php?my_var"+variable, "GET")

                in php you catch the variable using $_GET['my_var']

                you populate one database with the variable and when user visit your site the tree is updated

                may look like its complicated, but it isn't, you must use flash/php/mysql to make this 100% functional