Initclip shows an error

Hi friends i have try an example which uses the following function initclip
and endintclip but it shows an syntax error during debugging.

I have use CS3 for building this example whether CS3 supports this function/ or the code having any problem please help me…

#initclip
      _global.message = function(msg) {
         var msg;
         trace(msg);
      };
   #endinitclip