This is a Flex Application. You must have Adobe Flex builder version 3.0. This can be obtained on Linux, Mac, or Windows OS. You will deliver the source .mxml and .as files. I'm hoping for delivery within a week.
This application is like a debugger. It shows a tree of structures and member data. The values for member data is driven from a frame encoded interval stream. When the master frame index is changed all the member item fields will update with the new value.
For example:
<?xml version="1.0" encoding="UTF-8"?>
<root>
<structure name="Joe" type="Player">
<member name="m_HitPoints" type="int" val_stream="VariableValueStream1.xml"/>
<member name="m_Ammo" type="int" val_stream="VariableValueStream2.xml"/>
</strucure>
</root>
This is displayed as
Joe - Player
|- m_HitPoints - int - ???
|- m_Ammo - int - ???
Now the areas marked ??? will be filled in by creating a new HTTPService using the url passed in the val_stream field.
The [login to view URL] looks like:
<?xml version="1.0" encoding="UTF-8"?>
<root>
<interval>
<start>0</start> <end>5</end> <value>100</value>
</interval>
<interval>
<start>6</start> <end>10</end> <value>50</value>
</interval>
</root>
There is a master frame index. This will be an integer. A slider will drive this value. When the integer changes, all the values of the tree update. For example:
on frame 3 the m_HitPoints value from the given xml stream will be 100. This is because 3 falls between the start frame of 0 and the end frame of 5.
Now what will the m_HitPoints value be on frame 7? If you can not answer this, then we are not understanding each other. Please include the answer in the bid. "The value of m_HitPoints on frame 7 will be: ___"
*** Much of this is all ready built! *** I will provide you with the starting point Flex application. This app will load and display both the tree structure and the interval data. You may start from this. I'm simply stumped trying to make the advanced item renderer that can accomplish the value changes when the frame slider moves.
Here's a screen shot of your starting point:
[login to view URL]
I will include the src starting files as well. This shouldn't be too hard. If it is, this is not the right job for you.
Hi, the bidder before me already answered your question correctly but you didn't mention anything regarding 'm_Ammo ???'. I can wrap this up real quick.