View Full Version : Is there a method or function that will return the number of pixels?
cadmiumgreen
March 3rd, 2003, 06:59 PM
Is there a function or method in ActionScript that can return the # of pixels used?
I'm doing an experimental project and i would like to know.
thank you,
byron
cadmiumgreen
lostinbeta
March 3rd, 2003, 10:10 PM
As far as I know..... no there is not.
senocular
March 4th, 2003, 08:21 AM
number of pixels of what?
measurements in flash are based on (screen) pixels. Any width or height measurement is given in pixels. As long as your scaling is 100%, to find the number of pixels in say, an image, use _width*_height... though its probably not what you want I assume?
In general however, as lost was alluding to, per-pixel information cannot be determined in Flash.
lostinbeta
March 4th, 2003, 12:13 PM
Good point there Sen. I was assuming per-pixel information, I didn't think of what you said.
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.