Posted: Mon Mar 29, 2010 8:35 pm Post subject: Help with using a treeview
Im having some slight trouble. After looking around for free var scanners, i found some really good ones...for offline games. I wanted to have the same functionality while still being able to play gaia rally. So i valiantly set off to create one... and failed miserably.
So here it is.
I have a rally client set up like in my tutorial. I WANT a treeview to be able to get a flash variable and display it in nodes. Like:
Code:
_root. (this would be the first node)
Main (equivalent to _root.Main)
Area. (equivalent to _root.Area)
owner. (equivalent to _root.Area.owner)
moveSpeed (equivalent to _root.Area.owner.moveSpeed)
If ANYONE has any kind of help, it will be much appreciated.
Im using this to help build a trainer for an online game. Normally to test variables i use
Code:
swf.getvariable("var name")
unfortunately, as you may know, sometimes the variable is displayed as [object object] meaning that it has a hierarchy beneath it.
so when i serch for the variable _root(which is the main MC) the result i get is [object object]. there is more to it. such as
"_root.area" this also returns [object object] because it is the path "leading" to a var.
an actual var for the game is "_root.area.owner.moveSpeed" this returns a 3 in my scanner.
Basically: i want the treeview to take what i search for, say "_root" and instead of returning [object object] have it give a list of the paths in node form.
Sorry if alot of this dosnt make sense, im not uite sure how to explain it
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum