[Xerte] CSS Question

Tenney Julian Julian.Tenney at nottingham.ac.uk
Fri May 9 09:12:53 BST 2008


good question.
 
_level0.engine.css should contain the stylesheet, so you ought to be
able to apply that to text fields in loaded swfs.
 
That makes the swf rely on Xerte for it's stylesheet. It might be better
to initialise the swf with a path to the stylesheet, and get the swf to
load the css itself - that way you can use the swf elsewhere more
easily. Depends how fussy you are about potentially reusing the swf and
the whole object oriented thing - I like to make swfs pretty much self
contained, and initialise them by passing any data they need to an init
function. It's a bit more work, but it keeps you out of trouble later. 
________________________________

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul
Beckwith, AC&S Ltd
Sent: 08 May 2008 13:59
To: 'Xerte discussion list'
Subject: [Xerte] CSS Question



I have a stylesheet in Xerte, can the styles in this sheet be used
inside a swf that is elsewhere in my Xerte project?

 

 

Aerospace Consulting & Services Ltd

Engineering, Training, Consultancy <http://www.acns-gmbh.com/> 

 

Paul Beckwith
Multimedia Developer 

AC&S LTD
35A Victoria Road East
Thornton-Cleveleys
Lancashire
FY5 5BU
UK 

paul.beckwith at acns-group.com <mailto:mark.tomlinson at acns-group.com> 
www.acns-group.com <http://www.acns-group.com/>  

tel: 
fax: : 

+44 1253 855 997
<http://www.plaxo.com/click_to_call?lang=en&src=jj_signature&To=%2B44+12
53+855+997&Email=mark.tomlinson at acns-group.com> 
+44 870 762 6818

 

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20080509/1111c432/attachment.html


More information about the Xerte mailing list