got it to work using this tut:
http://webzone.k3.mah.se/projects/arduino-workshop/projects/arduino_meets_processing/instructions/ldr.html
seems like the same as b4, i dont know why it dident work...