Thought I'd pass on
this experience, and see if anyone has encountered it and can explain it (I've
worked around for now).
Deploying a Flex
application Tomcat 5.0.28 with JAVA_HOME using
j2sdk1.4.1_03.
However, the JVM
that Tomcat was using was jre1.5.0_04 - when using this JVM for Tomcat, any
attempts to parse a CSS file at runtime with an @font-face declaration would
cause a CSS error on the following CSS clause, eg:
@font-face {
font-family : winMoney;
src : url("assets/fonts/MONORG__.TTF");
}
Application
{
theme-color : #018adb;
}
would cause a CSS
error on the red-brace above, that looked like:
1 Warning found.
Warning /main.css:7
null
After
several acts of desparation, changing Tomcat to explicitly use the following
JVM:
C:\Program Files\Java\j2re1.4.1_03\bin\client\jvm.dll
removed
the errors (and gave me the fonts I was looking for).
Anyone
got any insight as to why a 1.5 JVM would not play ball with CSS
?
One to
file under "if this ever happens to me again the laptop is landing in the car
park"
Steven
--
Steven Webster
Technical Director
Technical Director
iteration::two
This e-mail and any associated attachments
transmitted with it may contain confidential information and must not be copied,
or disclosed, or used by anyone other than the intended recipient(s). If you are
not the intended recipient(s) please destroy this e-mail, and any copies of it,
immediately.
Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened.
Please also note that while software systems have been used to try to ensure that this e-mail has been swept for viruses, iteration::two do not accept responsibility for any damage or loss caused in respect of any viruses transmitted by the e-mail. Please ensure your own checks are carried out before any attachments are opened.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
---- LSpots keywords ?> ---- HM ADS ?>
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.