Content

Stupid mistake with external CSS StyleSheet

Tuesday 5 December 2006 - Filed under Others

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.

2006-12-05  »  5566

Talkback x 2

  1. Tracy
    21 June 2007 @ 12:42 pm

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

  2. Ed Moore
    22 August 2008 @ 5:49 am

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

Share your thoughts

Re: Stupid mistake with external CSS StyleSheet







Tags you can use (optional):
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

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