<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I created a simple stylesheet:<div><br></div><div><div>.test {</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>font-size: 32;</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>color: #ff0000;</div><div>}</div><div><br></div><div>and compiled it using Xerte. In a TextField I now tried</div><div><br></div><div><span class="test">This is my text</span> </div><div><br></div><div>The text is neither red nor big. I also tried <p class="... and <div class=".... no luck. Any ideas what's going wrong?</div><div><br></div><div>Peter<br><div><br></div><div><br></div><div><br><div><div>On 21.05.2010, at 16:39, Julian Tenney wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>
<div id="idOWAReplyText87475" dir="ltr">
<div dir="ltr"><font face="Arial" color="#000000" size="2">1 - yes</font></div>
<div dir="ltr"><font face="Arial" size="2">2 - create it anywhere you like</font></div>
<div dir="ltr"><font face="Arial" size="2">3 - yes, it will create styles.swf and set up the property on the application icon</font></div>
<div dir="ltr"><font face="Arial" size="2">4 - see above</font></div>
<div dir="ltr"><font face="Arial" size="2">5 - yes</font></div>
<div dir="ltr"><font face="Arial" size="2"></font> </div>
<div dir="ltr"><font face="Arial" size="2">Don't know about fonts - I've not tried that yet, so let me know what you find out,</font></div>
<div dir="ltr"><font face="Arial" size="2"></font> </div>
<div dir="ltr"><font face="Arial" size="2">J</font></div>
<div dir="ltr"><font face="Arial" size="2"></font> </div></div>
<div dir="ltr"><br>
<hr tabindex="-1">
<font face="Tahoma" size="2"><b>From:</b> <a href="mailto:xerte-bounces@lists.nottingham.ac.uk">xerte-bounces@lists.nottingham.ac.uk</a> on behalf of Peter Huppertz<br><b>Sent:</b> Thu 20/05/2010 17:25<br><b>To:</b> Xerte discussion list<br><b>Subject:</b> [Xerte] Using stylesheet in Xerte3<br></font><br></div>
<div><p><font size="2">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 <span style="myStyle">Text</span> 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><a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br><a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br></font></p></div></div>
_______________________________________________<br>Xerte mailing list<br><a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>http://lists.nottingham.ac.uk/mailman/listinfo/xerte<br></blockquote></div><br><div>
<div>==================================</div><div>Peter Huppertz</div><div>E-learning and IT Specialist</div><div>International Centre for Asset Recovery</div><div>Basel Institute on Governance</div><div>Phone: +41 61 205 55 18</div><div>Fax: +41 61 267 55 19</div>
</div>
<br></div></div></div></body></html>