<HTML dir=ltr><HEAD><TITLE>[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=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> xerte-bounces@lists.nottingham.ac.uk 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>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>