[Xerte] Using stylesheet in Xerte3

Dave Burnett d_b_burnett at hotmail.com
Tue Jun 1 12:06:44 BST 2010



I vaguely recall something about the Flash player not supporting the span tag.

I just use the tag as is:

<my_tag>The text</my_tag>



________________________________
> From: peter.huppertz at baselgovernance.org
> Subject: Re: [Xerte] Using stylesheet in Xerte3
> Date: Tue, 1 Jun 2010 10:51:28 +0200
> To: xerte at lists.nottingham.ac.uk
>
>
>
> I created a simple stylesheet:
>
> .test {
> font-size: 32;
> color: #ff0000;
> }
>
> and compiled it using Xerte. In a TextField I now tried
>
> This is my text
>
> The text is neither red nor big. I also tried

>
> Peter
>
>
>
> On 21.05.2010, at 16:39, Julian Tenney wrote:
>
>
>
> 1 - yes
>
> 2 - create it anywhere you like
>
> 3 - yes, it will create styles.swf and set up the property on the application icon
>
> 4 - see above
>
> 5 - yes
>
>
>
> Don't know about fonts - I've not tried that yet, so let me know what you find out,
>
>
>
> J
>
>
>
>
>
> ________________________________
>
> From: xerte-bounces at lists.nottingham.ac.uk on behalf of Peter Huppertz
> Sent: Thu 20/05/2010 17:25
> To: Xerte discussion list
> Subject: [Xerte] Using stylesheet in Xerte3
>
>
>
> Sorry for asking so many questions regarding Xerte3 ... I guess it's mainly you, Julian, who is the one who can answer them.
> 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:
>
> 1) Extract Flex4 SDK to Xerte3Editor/bin/flex4sdk
> 2) Create a stylesheet style.css in /myproject/styles/
> 3) Open this file using Compile Style Sheet from the Xerte3 menu (will this generate the .swf?)
> 4) Load generated Stylesheet as property "styleSheet" in the XerteApplication icon
> 5) Apply styles using the property styleName on icons (is it also possible to use Text in Text?)
>
> Questions:
> - is the above mentioned way the way it should work?
> - Does this also embed the used fonts? If not: how can I embed fonts?
>
> Thanks for your help,
>
> Peter
>
> ==================================
> Peter Huppertz
> E-learning and IT Specialist
> International Centre for Asset Recovery
> Basel Institute on Governance
> Phone: +41 61 205 55 18
> Fax: +41 61 267 55 19
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> _______________________________________________
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
>
> ==================================
> Peter Huppertz
> E-learning and IT Specialist
> International Centre for Asset Recovery
> Basel Institute on Governance
> Phone: +41 61 205 55 18
> Fax: +41 61 267 55 19
>
>
>
 		 	   		  
_________________________________________________________________
The New Busy is not the old busy. Search, chat and e-mail from your inbox.
http://www.windowslive.com/campaign/thenewbusy?ocid=PID28326::T:WLMTAGL:ON:WL:en-US:WM_HMP:042010_3


More information about the Xerte mailing list