Yeah man, you did it, that would be nice in your milkyway project. Yes I also have tried it with the exact krpano coding, I even use the same slider in the sample just to test it. I also didn't get far perfecting it.
Here,
http://www.adbolado.com/wp-content/panorama/ssdaynight/
Regards,