getNextHighestDepth() is your friend :-)

Nathan
http://www.nathanderksen.com


On Feb 3, 2006, at 2:05 AM, ryanm wrote:



Another little bit of advice you may find useful, don't put depths right next to each other, leave room between them. When developing a UI, I often put them 10 depths apart, as in navigation container at 10, content container at 20, footer container at 30, etc, instead of at 1, 2, and 3. That way, if I need to add a new section, or if I need to drop in additional elements like a scrollbar, etc, I have a depth available without having to go through the code and increment all the subsequent depths. Since there are 65k depths available and I rarely use more than a dozen on any given timeline, I figure spacing them out is safer than putting them right next to each other.

ryanm
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders


_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to