<HTML dir=ltr><HEAD><TITLE>Re: [Xerte] Using stylesheet in Xerte3</TITLE>
<META http-equiv=Content-Type content="text/html; charset=unicode">
<META content="MSHTML 6.00.6000.17023" name=GENERATOR></HEAD>
<BODY>
<DIV id=idOWAReplyText71044 dir=ltr>
<DIV dir=ltr><FONT color=#000000 size=2>.test {<BR> color: #ff0000;<BR>}</FONT></DIV>
<DIV dir=ltr><FONT size=2></FONT> </DIV>
<DIV dir=ltr><FONT size=2>does you css have the namespaces a tthe top?</FONT></DIV></DIV>
<DIV dir=ltr><BR>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> xerte-bounces@lists.nottingham.ac.uk on behalf of Peter Huppertz<BR><B>Sent:</B> Tue 01/06/2010 13:16<BR><B>To:</B> Xerte discussion list<BR><B>Subject:</B> Re: [Xerte] Using stylesheet in Xerte3<BR></FONT><BR></DIV>
<DIV>
<P><FONT size=2>Tried<BR><BR>test {<BR> color: #ff0000;<BR>}<BR><BR>which throws a warning "'test' must be qualified with a namespace". Nevertheless a styles.swf is created. But Text with <test>My Text</test> does not change ...<BR><BR>Peter<BR><BR>On 01.06.2010, at 14:06, Dave Burnett wrote:<BR><BR>><BR>> Will the . in the sheet screw it up?<BR>><BR>><BR>><BR>> ________________________________<BR>>> Subject: RE: [Xerte] Using stylesheet in Xerte3<BR>>> Date: Tue, 1 Jun 2010 12:47:14 +0100<BR>>> From: Julian.Tenney@nottingham.ac.uk<BR>>> To: xerte@lists.nottingham.ac.uk<BR>>><BR>>><BR>>><BR>>> does this work<BR>>><BR>>> ________________________________<BR>>> From: xerte-bounces@lists.nottingham.ac.uk on behalf of Peter Huppertz<BR>>> Sent: Tue 01/06/2010 09:51<BR>>> To: Xerte discussion list<BR>>> Subject: Re: [Xerte] Using stylesheet in Xerte3<BR>>><BR>>> I created a simple stylesheet:<BR>>><BR>>> .test {<BR>>> font-size: 32;<BR>>> color: #ff0000;<BR>>> }<BR>>><BR>>> and compiled it using Xerte. In a TextField I now tried<BR>>><BR>>> This is my text<BR>>><BR>>> The text is neither red nor big. I also tried<BR>><BR>>><BR>>> Peter<BR>>><BR>>><BR>>><BR>>> On 21.05.2010, at 16:39, Julian Tenney wrote:<BR>>><BR>>> 1 - yes<BR>>> 2 - create it anywhere you like<BR>>> 3 - yes, it will create styles.swf and set up the property on the application icon<BR>>> 4 - see above<BR>>> 5 - yes<BR>>><BR>>> Don't know about fonts - I've not tried that yet, so let me know what you find out,<BR>>><BR>>> J<BR>>><BR>>><BR>>> ________________________________<BR>>> From: xerte-bounces@lists.nottingham.ac.uk on behalf of Peter Huppertz<BR>>> Sent: Thu 20/05/2010 17:25<BR>>> To: Xerte discussion list<BR>>> Subject: [Xerte] Using stylesheet in Xerte3<BR>>><BR>>><BR>>> Sorry for asking so many questions regarding Xerte3 ... I guess it's mainly you, Julian, who is the one who can answer them.<BR>>> I already wrote regarding the use of stylesheets in Xerte3 and had a look at the example file. But I'm not 100% sure about the process to embed the stylesheet. I guess it should be something like this:<BR>>><BR>>> 1) Extract Flex4 SDK to Xerte3Editor/bin/flex4sdk<BR>>> 2) Create a stylesheet style.css in /myproject/styles/<BR>>> 3) Open this file using Compile Style Sheet from the Xerte3 menu (will this generate the .swf?)<BR>>> 4) Load generated Stylesheet as property "styleSheet" in the XerteApplication icon<BR>>> 5) Apply styles using the property styleName on icons (is it also possible to use Text in Text?)<BR>>><BR>>> Questions:<BR>>> - is the above mentioned way the way it should work?<BR>>> - Does this also embed the used fonts? If not: how can I embed fonts?<BR>>><BR>>> Thanks for your help,<BR>>><BR>>> Peter<BR>>><BR>>> ==================================<BR>>> Peter Huppertz<BR>>> E-learning and IT Specialist<BR>>> International Centre for Asset Recovery<BR>>> Basel Institute on Governance<BR>>> Phone: +41 61 205 55 18<BR>>> Fax: +41 61 267 55 19<BR>>><BR>>> _______________________________________________<BR>>> Xerte mailing list<BR>>> Xerte@lists.nottingham.ac.uk<BR>>> <A href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR>>><BR>>> _______________________________________________<BR>>> Xerte mailing list<BR>>> Xerte@lists.nottingham.ac.uk<BR>>> <A href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR>>><BR>>> ==================================<BR>>> Peter Huppertz<BR>>> E-learning and IT Specialist<BR>>> International Centre for Asset Recovery<BR>>> Basel Institute on Governance<BR>>> Phone: +41 61 205 55 18<BR>>> Fax: +41 61 267 55 19<BR>>><BR>> <BR>> _________________________________________________________________<BR>> Hotmail has tools for the New Busy. Search, chat and e-mail from your inbox.<BR>> <A href="http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1_______________________________________________">http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_1_______________________________________________</A><BR>> Xerte mailing list<BR>> Xerte@lists.nottingham.ac.uk<BR>> <A href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR><BR>==================================<BR>Peter Huppertz<BR>E-learning and IT Specialist<BR>International Centre for Asset Recovery<BR>Basel Institute on Governance<BR>Phone: +41 61 205 55 18<BR>Fax: +41 61 267 55 19<BR><BR>_______________________________________________<BR>Xerte mailing list<BR>Xerte@lists.nottingham.ac.uk<BR><A href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</A><BR></FONT></P></DIV></BODY></HTML>