Hi,
I think it's partly due to an issue with the rendering / player
rather than just your code.
Scrolling text always seems to look jerky as text tends to snap to
the pixel - unless you say otherwise. You have have an option of upping
your frame / animation rate and reducing your increment to a sub-pixel
and trying "anti-alias for animation" in your font embedding, but your
text may look blurry. The higher the screen resolution, the less
apparent the problem is though.
You are probably better off trying to animate it in an onEnterFrame
/ setInterval function for this than trying to tween.
From trying to do scrolling text in the past and not getting very
good results, I _think_ that this is a common problem with scrolling
text in Flash - if you google "flash text ticker", you should get lots
of examples that exhibit the same jerkiness.
Glen
Vayu Robins wrote:
Yes, I am using TweenLite to animate the the text when you roll over them
with momuse.
But to move each news individual with the TweenLite, seems problmeatic to
me.
For the moment they just move towards right one px at a time and when they
reach the right side of the stage they are repositioned to the left.
If I should do this with a tweener I need to calculate how far there is to
right side and give a time duration relative to the distance. To make this
so they all move at the same speed can be complicated. Also, if you change
the size of the browser this distance is obviously changed and should then
be modified.
On 5/22/08 12:49 PM, "Romuald Quantin" <[EMAIL PROTECTED]> wrote:
www.soundstep.com
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
--
Glen Pike
01326 218440
www.glenpike.co.uk <http://www.glenpike.co.uk>
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders