读书人

怎么获得影片上一点

发布时间: 2012-02-19 19:43:37 作者: rapoo

如何获得影片上一点
我在做视照相程序,用的受ActionScript控制的视频做的
我不是学FLASH的只是现在需要实现这个功能,已经将点击那一刻的图片拷贝到一个影片剪级imager,可现在需要传到后台,我用trace(imager.getPixel(10,10));总是undefine

[解决办法]
trace(imager.getPixel(10,10));
A number that represents an RGB pixel value. If the (x, y) coordinates are outside the bounds of the image, 0 is returned

comfirm the path of imager is correct , user trace(imager). if retrun undefine ,that is the problem

读书人网 >Flash

热点推荐