Flasher Archive

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


Subject: RE: FLASH: new actionscript looping
From: Jon Williams
Date: Wed, 13 Sep 2000 22:38:06 +0100

I've actually built an actionscript "frameLoop" object
that I've been using to create frameLoops programmatically
on the fly...works great...tutorial coming soon...
You just specify what object, what method, and what arguments
for each "virtual frame." It's really sweet and makes a lot
of other things possible.

it's way way faster than having multiple "real" frameloops
playing in your movie.

coming soon...

-j

-----Original Message-----
From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of Randy
Kato
Sent: Wednesday, September 13, 2000 1:59 PM
To: flasheratchinwag [dot] com
Subject: Re: FLASH: new actionscript looping


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

____________________________________________
http://1cis.com
Free E-mail Servers with unlimited mailboxes
1st Class Internet Solutions


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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, Randy Kato

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