Hi Gary,

The line to handle the multiple closes needs the current and previous
swapped around....


Makes sense because we've set previousLevel=descendant's nLevel and currentLevel=ancestor's nLevel.
An alternative would have been to to abs(currentLevel-previousLevel) :)


menu with this code. I was basically managing the level and sibling
handling myself - this is more elegant.


Thank you :)

Cheers,

-Ben
http://farcry.daemon.com.au/

---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]

MXDU2004 + Macromedia DevCon AsiaPac + Sydney, Australia
http://www.mxdu.com/ + 24-25 February, 2004

Reply via email to