[Flashcoders] There is no method with the name 'Math'.

2006-04-06 Thread Mike Mountain
Why on earth would the compiler be telling me There is no method with the name 'Math'. iNumber = Math.floor(iNumber/2); ? M ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive:

Re: [Flashcoders] There is no method with the name 'Math'.

2006-04-06 Thread Weldon MacDonald
it works for me. the only thing I can think of is it's not finding the class. Does syntax coloring recognise it? Did you modify class path? On 4/6/06, Mike Mountain [EMAIL PROTECTED] wrote: Why on earth would the compiler be telling me There is no method with the name 'Math'.

Re: [Flashcoders] There is no method with the name 'Math'.

2006-04-06 Thread Yotam Laufer
clear the .aso files? On 06/04/06, Weldon MacDonald [EMAIL PROTECTED] wrote: it works for me. the only thing I can think of is it's not finding the class. Does syntax coloring recognise it? Did you modify class path? On 4/6/06, Mike Mountain [EMAIL PROTECTED] wrote: Why on earth would the

RE: [Flashcoders] There is no method with the name 'Math'.

2006-04-06 Thread Mike Mountain
It's an odd one, I commented out, saved, uncommented and saved and it worked - ten minutes later it happened again - whilst working in another class that imports this one. Same solution fixed it - I suspect clearing the ASO files would've done too. Still doesn't really explain it. -Original