It's very difficult to debug an error in Main.asc, as the log only shows a text "Compilation Error". How to get the line number, where the error actually occured?
The log just shows this : #Version: 1.0
#Start-Date: 2012-08-02 00:27:48
#Software: Adobe Flash Media Server 4.0.0 r1121 x86
#Date: 2012-08-02
#Fields: date time x-pid x-status x-ctx x-comment
2012-08-02 00:27:48 4524 (e)2641277 Sending error message: Compilation error -
#Date: 2012-08-02
V.