Then as long as your tv pushes out the full signal throught the optical out(my sony bravia which is 4 years old doesnt) then you shoudl be good to go.
Connect everyhting to Tv via hdmi and then everyhting should pass through optical out of tv into surround system.
Wiht my i have got 4 optical leads going into an electronic splitter and then into my surround system.