Skip to Content »

FlashApe » Undefined Numbers in AS 3

 Undefined Numbers in AS 3

  • August 6th, 2007
  • 5:10 pm

Just ran into this one, trying to set parameters that were typed to number to undefined or null. There are a few datatypes you can’t do that with anymore, and Number is ’special’ because they cannot be undefined or null, only NaN. Instead of using Number you can use the special * (untyped) designation, and to test for an undefined Number you can use isNaN().

More info here, here, and here.

Want your say?

* Required fields. Your e-mail address will not be published on this site


Fatal error: Call to undefined function: adsense_deluxe_ads() in /var/www/vhosts/visible-form.com/httpdocs/blog/wp-content/themes/rdc/comments.php on line 100