Comments on “Assassinating jumpy htmlText hyperlinks”http://play.blog2t.net/fixing-jumpy-htmltext-links/feed/Assassinating+jumpy+htmlText+hyperlinks2010-02-02T02:06:18+00:00ChyrpAssassinating jumpy htmlText hyperlinkstag:play.blog2t.net,2009-06-03:/id/30//comment_192009-06-03T14:41:09+01:002009-06-03T14:41:09+01:00ickydimehttp://blog.ickydime.com
<p>Your solution looks good. We've been turning MouseScroll to false to take care of the scroll and setting TextFieldAntiAlias to Normal to take care of the jumping.</p>
<p>Nice to have another option just in case we need advanced AntiAlias.</p>
<p>Thanks!</p>
Assassinating jumpy htmlText hyperlinkstag:play.blog2t.net,2009-06-10:/id/30//comment_242009-06-10T20:21:51+01:002009-06-10T20:21:51+01:00Pat
<p>Wow!!!! Been trying to figure this out. Advanced Aliasing is the way to go and it's been a shame to sacrifice that for non-jumpy text. Thanks to your fix I can keep my readable text and not have to worry about this stupid bug!</p>
Assassinating jumpy htmlText hyperlinkstag:play.blog2t.net,2009-06-22:/id/30//comment_1062009-06-22T15:34:06+01:002009-06-22T15:34:06+01:00Martinhttp://www.formatlos.de
<p>nice one. I noticed this error once in a while but I didn't have the time to investigate further</p>
Assassinating jumpy htmlText hyperlinkstag:play.blog2t.net,2009-06-26:/id/30//comment_1622009-06-26T10:42:41+01:002009-06-26T10:42:41+01:00Luke Sturgeonhttp://www.lukesturgeon.co.uk
<p>I'm so glad I found your solution, after doing some experimenting myself I found that rather than adding a random amount to the height, you only need to add the leading value of the text, which you can find dynamically so it should work in all situations.</p>
<p>I just wrote a little post about it: http://www.lukesturgeon.co.uk/lab/2009/06/fixed-vertical-scrolling-text-bug/</p>
Assassinating jumpy htmlText hyperlinkstag:play.blog2t.net,2009-06-26:/id/30//comment_1642009-06-26T17:25:00+01:002009-06-26T17:25:00+01:00Og2thttp://play.blog2t.net
<p>@Luke: thanks so much, I couldn't figure it out myself. I will update the class soon.</p>
Assassinating jumpy htmlText hyperlinkstag:play.blog2t.net,2009-07-28:/id/30//comment_6362009-07-28T04:37:41+01:002009-07-28T04:37:41+01:00Maxhttp://www.soulsun69.com
<p>Is there an AS2 solution to this issue? Thanks,</p>
Assassinating jumpy htmlText hyperlinkstag:play.blog2t.net,2009-07-30:/id/30//comment_6552009-07-30T17:16:51+01:002009-07-30T17:16:51+01:00Flash videohttp://www.on7.com/news
<p>yes i would be also interested in a AS2 solution!</p>
Assassinating jumpy htmlText hyperlinkstag:play.blog2t.net,2009-07-31:/id/30//comment_6662009-07-31T11:11:36+01:002009-07-31T11:10:23+01:00Og2thttp://play.blog2t.net
<p>@Max @Flashvideo: just use the setter method (code above) to fix the bug, change <code>void</code> to <code>Void</code> and that should work.</p>
Assassinating jumpy htmlText hyperlinkstag:play.blog2t.net,2009-08-11:/id/30//comment_7682009-08-11T17:09:22+01:002009-08-11T17:09:22+01:00O Plummer
<p>Thanks a lot man, we have being trying to figure the best work around for this issue and you have definitely found the absolute the best fix.</p>
Assassinating jumpy htmlText hyperlinkstag:play.blog2t.net,2009-10-05:/id/30//comment_10162009-10-05T23:51:33+01:002009-10-05T23:51:33+01:00YuriZkit
<p>Hello everybody. I think I found a better solution!!!
create text and call fixTextScroll every time after updating text</p>
<p>var txtFieldWithText:TextField //etc...</p>
<p>SomeClass.fixTextScroll(txtFieldWithText);</p>
<p>class SomeClass
{
public static function fixTextScroll(txtField:TextField):void
{
txtField.htmlText += "<textformat leading="0">œ</textformat>"
}
}</p>
<p>I used "œ" because i don't think that anybody has it embedded, but u can change it by anything u want..
I think u can add more text after that and it will not be broken because "œ" is not embedded :)</p>
<p>home it will work just so well as for me!!</p>
Assassinating jumpy htmlText hyperlinkstag:play.blog2t.net,2009-10-05:/id/30//comment_10172009-10-05T23:55:17+01:002009-10-05T23:55:17+01:00YuriZkit
<p>sorry about that post, the blog readed the htmlFormat tags :(</p>
<p>will try one more time</p>
<p>var txtFieldWithText:TextField //etc...
<CODE>
SomeClass.fixTextScroll(txtFieldWithText);</p>
<p>class SomeClass
{</p>
<p>public static function fixTextScroll(txtField:TextField):void
{
txtField.htmlText += '<textformat leading="0">œ</textformat>'
}
}
</CODE></p>
Assassinating jumpy htmlText hyperlinkstag:play.blog2t.net,2009-10-06:/id/30//comment_10182009-10-06T00:04:16+01:002009-10-06T00:04:16+01:00YuriZkit
<p>i just don't how to use this blog i will post it with spaces</p>
<p>Hello everybody. I think I found a better solution!!! create text and call fixTextScroll every time after updating text</p>
<p>< t e x t f o r m a t l e a d i n g = " 0 " > œ < / t e x t f o r m a t ></p>
<p><pre class="brush: as3"></p>
<p>var txtFieldWithText:TextField //etc...</p>
<p>SomeClass.fixTextScroll(txtFieldWithText);</p>
<p>class SomeClass
{
public static function fixTextScroll(txtField:TextField):void
{
txtField.htmlText += <textformat leading="0">œ</textformat>
}
}
</pre>
I used "œ" because i don't think that anybody has it embedded, but u can change it by anything u want.. I think u can add more text after that and it will not be broken because "œ" is not embedded :)
if it works delete the my older posts plz</p>
Assassinating jumpy htmlText hyperlinkstag:play.blog2t.net,2009-12-08:/id/30//comment_50202009-12-08T00:01:22+00:002009-12-08T00:01:22+00:00Sam
<p>I'm trying to get this work with as2 and i'm not quite understanding your comment about that above:</p>
<p>"just use the setter method (code above) to fix the bug, change void to Void and that should work."</p>
<p>Would you please be able to show how this is done? sorry if this is a dumb question.</p>
Assassinating jumpy htmlText hyperlinkstag:play.blog2t.net,2009-12-08:/id/30//comment_52142009-12-08T20:53:47+00:002009-12-08T20:53:47+00:00wagsterhttp://www.pictureandword.com
<p>This could save me so many hours if you could just post it six months in the past... oh well.</p>
<p>Anyway, I wrote a fix after much wailing and gnashing of teeth, but I'm pretty sure it wasn't this neat. I'll use this from now on.</p>
<p>Delicioused.</p>
Assassinating jumpy htmlText hyperlinkstag:play.blog2t.net,2010-01-06:/id/30//comment_142902010-01-06T20:35:41+00:002010-01-06T20:35:41+00:00Fabio Paes
<p>Hi. First of all this solution is very $#&^%$ great. But i need some help with one issue here ... Im working on a project in CS4, which causes a bug when trying to access a blendShader property in the TextField describeType (there is a blendShader on TextField on CS4 - a writeOnly property) and a blur problem in the fonts.</p>
<p>Anyone knows how to do a work around to this problem?</p>
<p>Gracias</p>
Assassinating jumpy htmlText hyperlinkstag:play.blog2t.net,2010-01-08:/id/30//comment_147082010-01-08T02:03:28+00:002010-01-08T02:03:28+00:00Fabio Paes
<p>Thanks again Tomek.</p>
Assassinating jumpy htmlText hyperlinkstag:play.blog2t.net,2010-01-12:/id/30//comment_156162010-01-12T04:06:52+00:002010-01-12T04:06:52+00:00Saurabh Gautam
<p>the line no 70 says :
// clone the textFormat of referenceTextField as well
defaultTextFormat = referenceTextField.getTextFormat();</p>
<p>I think it should be within the if (referenceTextField) bloack since on a null object you cannot access the getTextFormat();</p>
<p>The rest of class works as a charm.
Thanks</p>
Assassinating jumpy htmlText hyperlinkstag:play.blog2t.net,2010-02-02:/id/30//comment_234172010-02-02T02:06:18+00:002010-02-02T02:06:18+00:00Pier
<p>Thank you!</p>