&& operation in actionscript -
"bitmap" is zero in the following code, even if it is why?
Get BitmapHight () for Public Function (if (_bitmapHeight == 0 & amp; amp; amp; amp; amp; amp; amp; amp; amp; amp; Amp; tap = null) _bitmapHeight = BITMAP.bitmapData.height; return_bitemap; P> If the BITMAP is empty then that line of code should never be done. Try this:
get a bitmap (public) function (if (_bitmapHeight = = 0 & amp; amp; amp; amp; amp; amp; null; = null) {trace ("null with called"); _bitmapHeight = BITMAP.bitmapData.height;} PS _bitmapHeight;}
What does 'called redundant' ever know?
Comments
Post a Comment