12/25/2006

变形金刚电影预告片

看变形金刚是很小的时候的事情了,十几年过去了变形金刚的电影终于要来了。
由梦工厂和派拉蒙联手,迈克尔·贝(Michael Bay)导演的变形金刚(Transformers)将于2007年的时候上映(预计2007年7月4日美国独立日),总之期待不会太久了。

不过故事似乎是讲变形金刚侵入地球,当然又是狂派飞机人的勾当,然后博派汽车人和地球人联手抗敌。
故事是有点老套了,不过其资料片显示的动画和3D效果显然很不错。

官方网站:http://www.transformersmovie.com/main.html
最新资料片可以在http://movies.yahoo.com/feature/transformers.html下载,当然官方网站上也可以看,中文版尚未更新,直接进主站看就是了。










从资料片和这张截图来看,狂派的飞机人似乎有点异形的味道。

12/18/2006

FLEX2: let the horizontal scroll bar works in Tree control

we know that the horizontal scroll bar is not work properly in tree control of FLEX2, especially the auto option.
what all I want is let horizontal scroll bar appear and work while the width of tree control is not enough to display the visble tree node.
but unfortunately adobe seems make this feataure disabled. so we need make it works ourself.
first thing, of course google it, and I found out a possible solution from everflash
the author try to change the value of maxHorizontalScrollPosition by doing the measurement on all visible items in the tree, yes it works and seems good.
But after I downloaded the source and go through it, I feel sad because the solution need our tree node data extends a custumized class named "TreeNode". in fact it won't be a total solution of this issue. actually what I want is an extensible tree. so I try to imporve the tree control from everflash.
after two days hard work, I make the control much more simple what with out any extends required. so you just need use my tree named "HScrollTree" instead of mx:tree. That's all.