Re: [Flashcoders] Tweening text more smoothly - AS3

2008-05-25 Thread Pedro Kostelec
Ther is something that i don't like here. Sorry for changing the subject. It's the Zoom in /Zoom out When i click zoom in it works but it doesn't de-zoom when you click Zo0om out. Does someone know why is that so? On Thu, May 22, 2008 at 11:57 AM, Vayu Robins [EMAIL PROTECTED] wrote: Hej. I

Re: [Flashcoders] Tweening text more smoothly - AS3

2008-05-25 Thread EECOLOR
if off the stage if ( mc.x stage.stageWidth ) mc.x = 0; } Hasta! Jesse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of laurent Sent: Saturday, May 24, 2008 2:13 AM To: Flash Coders List Subject: Re: [Flashcoders] Tweening text

Re: [Flashcoders] Tweening text more smoothly - AS3

2008-05-25 Thread Juan Pablo Califano
: [Flashcoders] Tweening text more smoothly - AS3 :) I just read about wraping using modulus on Grant Skinner's blog: sprite.x = (sprite.x + 5) % stage.stageWidth; And then get where was that checkWrap methods :] Still I'm interested in the onT methods...I don't think I will get them before Grant's

Re: [Flashcoders] Tweening text more smoothly - AS3

2008-05-25 Thread Juan Pablo Califano
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of laurent Sent: Saturday, May 24, 2008 2:13 AM To: Flash Coders List Subject: Re: [Flashcoders] Tweening text more smoothly - AS3 :) I just read about wraping using modulus on Grant Skinner's blog

RE: [Flashcoders] Tweening text more smoothly - AS3

2008-05-24 Thread Jesse Graupmann
: Friday, May 23, 2008 3:53 AM To: Flash Coders List Subject: Re: [Flashcoders] Tweening text more smoothly - AS3 Apologies if this has already been mentioned... I discarded some of the original posts. If you are using a timer with a delay that does divide evenly to your frame rate, it stands to reason

Re: [Flashcoders] Tweening text more smoothly - AS3

2008-05-24 Thread laurent
(); checkWrap ( mc3 ); } -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jonathan howe Sent: Friday, May 23, 2008 3:53 AM To: Flash Coders List Subject: Re: [Flashcoders] Tweening text more smoothly - AS3 Apologies if this has already been

Re: [Flashcoders] Tweening text more smoothly - AS3

2008-05-24 Thread laurent
Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of jonathan howe Sent: Friday, May 23, 2008 3:53 AM To: Flash Coders List Subject: Re: [Flashcoders] Tweening text more smoothly - AS3 Apologies if this has already been mentioned... I discarded some of the original posts. If you

RE: [Flashcoders] Tweening text more smoothly - AS3

2008-05-24 Thread Jesse Graupmann
; } Hasta! Jesse -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of laurent Sent: Saturday, May 24, 2008 2:13 AM To: Flash Coders List Subject: Re: [Flashcoders] Tweening text more smoothly - AS3 :) I just read about wraping using modulus on Grant Skinner's

Re: [Flashcoders] Tweening text more smoothly - AS3

2008-05-23 Thread EECOLOR
You could create a bitmap using BitmapData.draw. Add that to your display list, set cacheAsBitmap to true and things should run smootly. Not sure if it works, but it is just another suggestion. Greetz Erik On 5/22/08, Vayu Robins [EMAIL PROTECTED] wrote: Hej. I am wondering if there is

Re: [Flashcoders] Tweening text more smoothly - AS3

2008-05-23 Thread jonathan howe
Apologies if this has already been mentioned... I discarded some of the original posts. If you are using a timer with a delay that does divide evenly to your frame rate, it stands to reason that some screen updates the item will have traveled more pixels than others. Example: Frame rate 24 fps

[Flashcoders] Tweening text more smoothly - AS3

2008-05-22 Thread Vayu Robins
Hej. I am wondering if there is anything that could be done to improve the panning/scrolling/tweening of the news items at the bottom of the this page: http://flashkompagniet.dk/flash/main.php I am running a timer at 20 milliseconds Timer(20, 0); And the news items are being moved a 1px

RE: [Flashcoders] Tweening text more smoothly - AS3

2008-05-22 Thread Romuald Quantin
Sent: 22 May 2008 10:57 To: Flash Coders List Subject: [Flashcoders] Tweening text more smoothly - AS3 Hej. I am wondering if there is anything that could be done to improve the panning/scrolling/tweening of the news items at the bottom of the this page: http://flashkompagniet.dk/flash/main.php

Re: [Flashcoders] Tweening text more smoothly - AS3

2008-05-22 Thread laurent
It's not just you, it somehow not perfectly smooth. perhap an enterframe is smoother or something to do with update after event. Or perhaps try 5 pixels every 100ms. the background is cool! L Vayu Robins a écrit : Hej. I am wondering if there is anything that could be done to improve the

Re: [Flashcoders] Tweening text more smoothly - AS3

2008-05-22 Thread Vayu Robins
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

RE: [Flashcoders] Tweening text more smoothly - AS3

2008-05-22 Thread Romuald Quantin
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of laurent Sent: 22 May 2008 12:16 To: Flash Coders List Subject: Re: [Flashcoders] Tweening text more smoothly - AS3 It's not just you, it somehow not perfectly smooth. perhap an enterframe is smoother or something to do with update after event

Re: [Flashcoders] Tweening text more smoothly - AS3

2008-05-22 Thread Vayu Robins
Thanks for feedback. I did try to change the pixels and the milliseconds, but this is the best I could get it. I use the updateAfterEvent() each time the the news items have moved 1 px. I havent tried doing it with onEnterFrame though. The background image is from stock.xchng.

Re: [Flashcoders] Tweening text more smoothly - AS3

2008-05-22 Thread Vayu Robins
, or whatever. It is probably a lot smoother in the Flash IDE than in a browser. Romu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of laurent Sent: 22 May 2008 12:16 To: Flash Coders List Subject: Re: [Flashcoders] Tweening text more smoothly

Re: [Flashcoders] Tweening text more smoothly - AS3

2008-05-22 Thread Glen Pike
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

Re: [Flashcoders] Tweening text more smoothly - AS3

2008-05-22 Thread Cedric Muller
I may be one more time wrong here, but as flash is single thread, you can do whatever you want, you won't be able to have a 'perfect scientific smoothed' scroll :( I struggled a lot with that ... I tried enterframe, intervals/timer, converting text to bitmap, displacement map filter, ... all

Re: [Flashcoders] Tweening text more smoothly - AS3

2008-05-22 Thread Cedric Muller
] On Behalf Of laurent Sent: 22 May 2008 12:16 To: Flash Coders List Subject: Re: [Flashcoders] Tweening text more smoothly - AS3 It's not just you, it somehow not perfectly smooth. perhap an enterframe is smoother or something to do with update after event. Or perhaps try 5 pixels every 100ms

Re: [Flashcoders] Tweening text more smoothly - AS3

2008-05-22 Thread jonathan howe
Also, while I don't believe it to be the case here but worth mentioning: if you have a font antialiasing set towards readability or a custom setting with high sharpness, there's more pixel snapping which can make the text look like it's not moving smoothly. On Thu, May 22, 2008 at 7:56 AM,

Re: [Flashcoders] Tweening text more smoothly - AS3

2008-05-22 Thread Martin Klasson
: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of laurent Sent: 22 May 2008 12:16 To: Flash Coders List Subject: Re: [Flashcoders] Tweening text more smoothly - AS3 It's not just you, it somehow not perfectly smooth. perhap an enterframe is smoother or something to do with update after

RE: [Flashcoders] Tweening text more smoothly - AS3

2008-05-22 Thread Romuald Quantin
2008 13:46 To: Flash Coders List Subject: Re: [Flashcoders] Tweening text more smoothly - AS3 For me I have rescued some projects that is CPU-intensive by setting wmode to opaque, the reason I tried it was that the FPS was great in Internet Explorer, but in Firefox it was really down low. So

Re: [Flashcoders] Tweening text more smoothly - AS3

2008-05-22 Thread Vayu Robins
. It is probably a lot smoother in the Flash IDE than in a browser. Romu -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of laurent Sent: 22 May 2008 12:16 To: Flash Coders List Subject: Re: [Flashcoders] Tweening text more smoothly - AS3 It's not just

Re: [Flashcoders] Tweening text more smoothly - AS3

2008-05-22 Thread Vayu Robins
:16 To: Flash Coders List Subject: Re: [Flashcoders] Tweening text more smoothly - AS3 It's not just you, it somehow not perfectly smooth. perhap an enterframe is smoother or something to do with update after event. Or perhaps try 5 pixels every 100ms. the background is cool! L