gt;>>>>
>>>>>>>
>>>>>>> 35,34,73,36,34,50,59,67,37,36,36,36,56,47,37,36,36,34,36,30,46,35,36,36,36,5
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> 9,46,35,36,36,36,59,45,
,36,50,55,45,35,35,35,36,61,45,36,35,35,36,66,45,131
>>>>>>
>>>>>> ,39,45,33,37,34,37,34,45,51,36,51,49,38,67,35,36,36,34,43,47,38,50,35,34
>>>>>>
>>>>>> // Difference from expected 30ms
>>>>>>
>>>>&g
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 more smoothly - AS3
:) I just read about wraping us
ompensate for the difference, I decide that for every 30ms
>>>> that
>>>> have passed the MovieClip should increment the correct amount ( 1 pixel
>>>> ).
>>>> When the tick occurs, I subtract the stored time (lastTick2) from the
>>>> current time giving me
it won't matter when I call the function as long as it happens
> >> once per frame. So onT3 just uses the ENTER_FRAME event to calculate
> speed
> >> based on elapsed time using lastTick3.
> >>
> >> Here is another example that is commented a bit better and shoul
ta!
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
quot;TL";
>> stage.scaleMode = "noScale";
>> stage.addEventListener ( Event.ENTER_FRAME, onFrame );
>>
>> // for every (stepTime)ms move (stepRate)pixels
>> var stepTime:int = 30; var stepRate:int = 1;
>> var time:int = getTimer();
>>
>&g
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.
>
ECTED] 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:
sprite.x = (sprite.x + 5) % stage.stageWidth;
And then get where was that c
// wrap 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] Tween
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 mentione
tick ) * speed;
lastTick3 = getTimer();
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
A
f 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 are using a timer with a delay that does divide evenly to your f
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 ro
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 i
ll a break in the movement, which can
>>>> happen because of the browser, or whatever. It is probably a lot smoother
>>>> in
>>>> the Flash IDE than in a browser.
>>>>
>>>> Romu
>>>>
>>>> -Original Message---
lot smoother
>>>> in
>>>> the Flash IDE than in a browser.
>>>>
>>>> Romu
>>>>
>>>> -Original Message-
>>>> From: [EMAIL PROTECTED]
>>>> [mailto:[EMAIL PROTECTED] On Behalf Of laurent
lasson
Sent: 22 May 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 reall
n because of the browser, 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
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, Cedr
ECTED]
[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. Or
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
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 incr
can
> happen because of the browser, 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: Fla
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.
http://www.sxc.hu
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 you, it somehow not perfectly smooth.
perhap an enterframe is smoother or something to do with update af
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 t
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
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
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 everyti
30 matches
Mail list logo