Skip to main content
Participating Frequently
January 14, 2013
Question

Number.floor appears to be a valid function but is not

  • January 14, 2013
  • 1 reply
  • 542 views

We recently had a problem where when compiling using FB and debugging on devices works fine. But when we built the app using Ant, it was crashing on Android devices. After debugging that, we found that Number.floor was not a function.

I cannot find any documentaiton that says Number.floor was ever a function in ActionScript/Flex/AIR.

So why does Flash Builder seem to think it's valid, let us compile it, and even run it on the device?! Is there some 'even more strict' compiler option I need to check?

This topic has been closed for replies.

1 reply

chris.campbell
Legend
January 25, 2013

I'm not sure why this is occurring  If you haven't already, you might want to crosspost this over on the AS forum.

http://forums.adobe.com/community/flash/flash_actionscript3