flags = translucent / show;

well for one thing

/ should be |

but im geussing thats just the way you wrote it here and not in your script

try this ... change flags to flags2 = TRANSLUCENT | SHOW;

and see what happens