[Xerte] Xerte SA (standalone) anti-aliasing
Julian Tenney
Julian.Tenney at nottingham.ac.uk
Mon Dec 14 12:08:58 GMT 2009
Because the icon has a ssetText method which sets the text in its
movieclip
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: Monday, December 14, 2009 12:08 PM
To: Xerte list
Subject: RE: [Xerte] Xerte SA (standalone) anti-aliasing
Thought about that, but then why does this work?
page_prev_text_clip = icon.previousSibling.clip();
page_prev_text_clip.setText('<pgcounter_text><B>Page ' + page + '
It is overriding the text set in the text property of the icon, so I
figured it has to be targeting the textfield, as you can have only 1 TF
per icon.
________________________________
Subject: RE: [Xerte] Xerte SA (standalone) anti-aliasing
Date: Mon, 14 Dec 2009 11:48:52 +0000
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Remember: you are trying to talk to the icon not it's textfield:
Icon.blah.clip() is an icon, a MovieClip
Icon.blah.clip().txt is the text field in there,
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: Monday, December 14, 2009 11:46 AM
To: Xerte list
Subject: RE: [Xerte] Xerte SA (standalone) anti-aliasing
Pi to the last digit.
I tried a few script attempts:
page_prev_text_clip = icon.previousSibling.clip();
//page_prev_text_clip.setText('<pgcounter_text><B>Page ' + page + ' of '
+ page_count + '</pgcounter_text>');
//page_prev_text_clip.antiAliasType = "normal";
page_prev_text_clip.setStyle("antiAliasType","normal");
No joy.
A real situation, so a method would be great.
Or I can just do a function and pass it the textfield
________________________________
Subject: RE: [Xerte] Xerte SA (standalone) anti-aliasing
Date: Mon, 14 Dec 2009 10:51:49 +0000
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Nothing is undoable!
Either you can set the properties from Xerte using script, or, more
conveniently, you can call some methods in the engine that we can add.
Is this an actual problem you're trying to solve, or speculation?
From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: Sunday, December 13, 2009 10:12 PM
To: Xerte list
Subject: RE: [Xerte] Xerte SA (standalone) anti-aliasing
I had looked at the textfield settings, tried a few things, but no go.
Just wanted to know if I was attempting something undoable in Xerte
before I continued bashing about.
Dave
________________________________
Subject: RE: [Xerte] Xerte SA (standalone) anti-aliasing
Date: Sun, 13 Dec 2009 21:47:56 +0000
From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
I looked into it. There is quite a lot of detail, but in the end I think
I decided the default settings were in fact pretty optimal for dynamic
text - which we are mostly concerend with. If you embed fonts, those
options might become more meaningful, but, again, you are fine tuning a
pretty good default, if I recall correctly.
Read up in the Flash help for the textField.
________________________________
From: xerte-bounces at lists.nottingham.ac.uk on behalf of Dave Burnett
Sent: Sun 13/12/2009 16:36
To: Xerte list
Subject: [Xerte] Xerte SA (standalone) anti-aliasing
Archives do not seem to contain the term.
Am I correct in thinking it requires font embedding, and is therefore a
bit frowned upon due to accessiblity issues?
Cheers,
Dave
________________________________
Hotmail: Trusted email with Microsoft's powerful SPAM protection. Sign
up now. <http://clk.atdmt.com/GBL/go/177141664/direct/01/>
________________________________
Your E-mail and More On-the-Go. Get Windows Live Hotmail Free. Sign up
now. <http://clk.atdmt.com/GBL/go/171222985/direct/01/>
________________________________
Hotmail: Trusted email with Microsoft's powerful SPAM protection. Sign
up now. <http://clk.atdmt.com/GBL/go/177141664/direct/01/>
________________________________
Hotmail: Powerful Free email with security by Microsoft. Get it now.
<http://clk.atdmt.com/GBL/go/171222986/direct/01/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091214/c0de9731/attachment.html
More information about the Xerte
mailing list