We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › files in classes
Page Index Toggle Pages: 1
files in classes (Read 322 times)
files in classes
Jan 21st, 2006, 11:17pm
 
i'am having a problem with a sketch. Initially it have a sound loaded in the setup function, but i want to move it to a class. I don't change anything in the statments (mySample = new Sample("sine.aiff"), basically) but it say nullpointerexception. Should i spècify the path or the file?

thanx
Page Index Toggle Pages: 1