&& 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

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -