Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | FLASH: simple duplicate MC script crashing F5 |
From: | Matt Spiegler |
Date: | Wed, 13 Sep 2000 18:46:05 +0100 |
I'm trying to insert a simple duplicateMovieClip script into my movie,
but everytime I add it and try to preview it, I get a warning message
saying that a script is causing flash to run slowly and my computer may
become unresponsive if the script is run!
Here's the script:
onClipEvent (load) {
dupe = "1";
}
onClipEvent (enterFrame) {
if (dupe = 1) {
duplicateMovieClip (_root.bg1, "box2", 2);
dupe = "2";
}
}
If I remove the script everything plays fine. I'm assuming I'm somehow
causing an infinite loop, but can't see where it's occurring. I tried to
write the script so that it would only dupe the MC once, then quit.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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 helpchinwag [dot] com
Replies
FLASH: Troubl with Execs and Netscape, Lorenzo Kirkpatrick
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]