Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Error message... |
From: | Darren Critchley |
Date: | Fri, 21 Apr 2000 16:28:47 +0100 |
Helen Triolo wrote:
> Thorvald Neumann wrote:
> >
> > Sael!
> >
> > Today I received the following error message from Flash:
> >
> > "More than 200000 actions were executed in one action list.
> > This is probably an infinite loop.
> > Further execution of actions has been disabled in this movie."
> >
> > Does anybody know what this means? I did some scripting, but nothing
> > unusual and complicated IMHO.
> >
> Hejsan! (Always wanted to say that back--I assume it means hello and
> not something terrible. And does Sael mean help?) Anyway, the 200000
> actions means you have an infinite loop of some sort. I've gotten this
> before by looping on something like while (i < var&n) instead of while
> (i < eval(var&n)), but without seeing your script I can't be much more
> useful than that.
>
> Regards,
> Helen
I have seen the same thing when I was waiting for a random amount of time
to pass by. I had using the loop until actionscript. Flash only allows so
many loops(within one frame) with nothing happening, and then it gives you
the error message. This prevents people from locking up their machine.
Anyways what you need to do is spread your loop out over two frames.
If you had something to the effect of:
loop until an action happens
or loop until a variable equals a value,
you would want it to go over a couple of frames, so Flash thinks
something is still happening, here's how to do it:
create three key frames, (give them names, ie) First frame call Loop,
second frame doesn't need a name, and call the third (continue or something
like that)
in the first frame put your test (this was the loop condition), if the
condition is met, go to the third frame.
in the second frame, put a goto first frame
That will emulate a Loop for you and flash will not complain if it goes
more than the allowable amount.
Darren.
--
http://www.aurorainformationsystems.com/
http://persweb.direct.ca/darrenc/
http://persweb.direct.ca/darrenc/KVR/TheKVR.htm
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
Replies
FLASH: Error message..., Thorvald Neumann
Re: FLASH: Error message..., Helen Triolo
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]