Programmatic Masonry / Space-FInding Layout in Actionscript
问题 Can anyone point me to a good Actionscript 3 class that handles "masonry" style layouts ala the ted.com homepage? Short of finished code, can anyone describe / summarize an efficient algorithm that handles this effect? Searches turn up arcane articles about kd-trees and other such stuff that's way over my head. The jQuery Masonry plugin looks great, but I tried reverse engineering it without much success. Thanks in advance! 回答1: this doesn't do exactly what you want but it's somewhat in the