Please help me with my 8x8 led matrix!

I tried to follow this project

http://tronixstuff.wordpress.com/2010/06/06/getting-started-with-arduino-–-chapter-nine/

and it worked very well when i just used the arduino code in the tronixstuff website. But what I was going to do is that after I finish this project, i tried to use the processing with arduino, just like this project

http://www.bryanchung.net/?p=177

So I did wire, connection all that just like in the tronixstuff website, and then I put the arduino code in the bryanchung's website to my project after i changed pin number(latch,gnd,data all that), the lights blink similarily with the bryanchung website, but only half of the led matrix blink.

I think it's because of the code. Two 74HC595 were used in my project, and MAX7219 was used in bryanchung's website. But, I don't have any idea to fix the code from bryans'. Can anyone help me with this?

I think it's because of the code.

You know, that's just crazy enough to be right.

Why don't you show it to us?