Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: John's flying text
From: John Croteau
Date: Tue, 26 Oct 1999 02:29:34 +0100

Hi Cheri and all,

>> I have noticed that when you start to add lots more text or
>> objects the playback decreases. Is this due to the increase in
>> the amount of redraw, the increase in the # of computations, or
>> a combination of both.
The basic effect works based on the movement of the previous frame a
train of 100 characters will take a long time to cascade the movement
from the button down to the last character.

> I would say a combination of both. There are just two active frames that
> are playing over and over as you move the cursor, each time the MC hits
> frame 3 it loops through each character twice - once to get the properties
> and once to set the new ones (& re-draw) so if you have 100 characters it
> has 1200 computations
Actually, there would now be 904 actions (was 804) per loop if there are
100 objects (or if n is set to 100). We've added one more atatement in
the loop in version 1.2.

To see how much the animation is affected by the computations alone,
just change the n value without adding graphics. At 100 it is much
slower.

Smaller character will definately move faster and it is likely that you
will use smaller characters with longer chains so it works out for many
uses.

> and 600 re-draws per second (is that right? wow!)
No, there is one screen draw per frame. Any changes to that will effect
the screen draw are accumulated until the end of the frame and the
screen is drawn once.

> Am thinking there ought to be a better explanation for the slowness, tho, as
> you can play around with the acceleration and deviation variables a bit to
> make the greater number of characters "seem" to move faster. I tried one
> with 30 characters and it looked better at acceleration of 3 and deviation
> at 2.5. Some of the combinations are hilarious, tho. I lost the entire MC
> a couple times....I think it ended up in the neighbor's swimming pool.
By changing the a and d parameters you can speed things up but as Cheri
noticed it will affect the pattern.

--
Coming Soon Flash 4 Web Animation F/X and Design
http://www.amazon.com/exec/obidos/ASIN/1576105555/flashcentral
----------- -----------------------
John Croteau croteauaterols [dot] com (mailto:croteauaterols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Streaming Media WEST '99 Conference & Exhibition
"The Worlds largest Internet Audio & Video Event"
December 7 - 9, San Jose Convention Center, California

Reserve your space today at http://www.streamingmedia.com
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  RE: FLASH: John's flying text, Arsis
  Re: FLASH: John's flying text, Cheri Harder

[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]