Any flash (new CC Animate) geeks out there that can help with the AS3 code to continuously loop a video?

I managed to find the AS3 code that should work, but for some reason I keep getting an error message that one of my variables are incorrect. Am going to try again tomorrow with the converted flv files, but thought I would ask if anybody has run into this problem before?