RE: [Flashcoders] "There is no method with the name 'Math'."
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 Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Yotam Laufer > Sent: 06 April 2006 13:26 > To: Flashcoders mailing list > Subject: Re: [Flashcoders] "There is no method with the name 'Math'." > > 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 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: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] "There is no method with the name 'Math'."
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 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: > > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > > > Brought to you by Fig Leaf Software > > Premier Authorized Adobe Consulting and Training > > http://www.figleaf.com > > http://training.figleaf.com > > > > > -- > Weldon Mac Donald > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- Yotam Laufer | Flash Developer | mobile +44 (0) 79 205 17 212 | skype: ubermutt ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com
Re: [Flashcoders] "There is no method with the name 'Math'."
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'." > iNumber = Math.floor(iNumber/2); > > ? > > M > > ___ > Flashcoders@chattyfig.figleaf.com > To change your subscription options or search the archive: > http://chattyfig.figleaf.com/mailman/listinfo/flashcoders > > Brought to you by Fig Leaf Software > Premier Authorized Adobe Consulting and Training > http://www.figleaf.com > http://training.figleaf.com > -- Weldon Mac Donald ___ Flashcoders@chattyfig.figleaf.com To change your subscription options or search the archive: http://chattyfig.figleaf.com/mailman/listinfo/flashcoders Brought to you by Fig Leaf Software Premier Authorized Adobe Consulting and Training http://www.figleaf.com http://training.figleaf.com