Flasher Archive

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


Subject: Re: FLASH: new actionscript looping
From: Randy Kato
Date: Wed, 13 Sep 2000 22:15:36 +0100

Catherine,

What's happening with your loop is that it's looping through and updating the
properties, but it's updating as fast as the processor can go -- faster than the
screen can redraw it or your eyes can see it. You still need a time-based loop,
but...

There's really no need for the F4 style multi-frame looping MC any more. Now you
can use onClipEvent(enterframe) to simulate the same thing. Put the script you
want into a single frame MC and load/access that MC when you want the script to
execute. This will execute the script every time that MC enters a frame -- even
if it's just a single frame MC it will 'hit' that frame continuously at the
framerate of the movie.

HTH,
Randy


Catherine Kunicki wrote:

> ya, spreading out the loop over frames was one approach I was wondering
> about.
>
> the other thought I had was that placing the call to move the movieclip
> inside the function is a bad idea. since the function (I have this placed in
> a frame handler) is called from a button click, I wonder if nothing is
> happening re: screen update because the function isn't done. ie, it hasn't
> returned any values to the mousedown script that called it until its done
> with the loop.

--
'''''' ' ' ' ' ' ' ' ' '
Randy Kato - Web Master
Braincraft

627 Broadway, Suite 504, NYC 10012
T 212.539.1680 F 212.539.1741
http://www.braincraft.com
...... . . . . . . . . .



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
NudeGuru.com is proud to sponsor the Flasher list
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
IT'S THE ART OF MONEY, HONEY!
Tips and Advice from some of the most popular Flash
artists + industry power-brokers on how to hold onto
your rights, negotiate contracts and get full value
for your work.http://www.nudeguru.com from Franke James
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  RE: FLASH: new actionscript looping, Jon Williams

Replies
  Re: FLASH: new actionscript looping, Catherine Kunicki

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