— Shang Liang

Stupid mistake with external CSS StyleSheet

I had some problem loading an external CSS today. Flash kept giving me unable to load error. Because the project requires receiving a full path from the server side to load external files, I was trying to figure out which path was given wrongly. After 1 hour or so I realized the problem is the CSS itself. I copied some lines from live docs and then my style sheet start with “//this is the style sheet”. Lesson learned is that style sheet doesn’t support “//” comments. In HTML it doesn’t give much problem. Only the first style is ignored but Flash doesn’t tolerate any mistakes.

2 comments
  1. Tracy says: June 21, 200712:42 pm

    Looking for Images of Levis Lady Style Eyewear Pringsummer Collection 2007 . Even if you have…

  2. Ed Moore says: August 22, 20085:49 am

    To comment in CSS use: /* this is the comment */

Submit comment

For spam filtering purposes, please copy the number 8186 to the field below: