Flasher Archive

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


Subject: RE: FLASH: simple duplicate MC script crashing F5
From: Chris Kemmett
Date: Wed, 13 Sep 2000 23:46:40 +0100

I experienced this the other day and found it was a problem with my
code...it may be the same with yours.

A check for equality is ==, not =. e.g.

if (dupe == 1)

hth
ck
CADRE design


-----Original Message-----
From: owneratchinwag [dot] com [owneratchinwag [dot] com]On">mailto:owneratchinwag [dot] com]On Behalf Of Matt
Spiegler
Sent: Thursday, 14 September 2000 4:40 AM
To: flasheratchinwag [dot] com
Subject: Re: FLASH: simple duplicate MC script crashing F5


nope, it's coming from one MC and duping another. I'd put it up, but
unfortunately I've already deleted the AS and am starting over. If anyone
spots
what I did wrong though, I'd love to learn.

John Dowdell wrote:

> At 10:29 AM 9/13/0, Matt Spiegler wrote:
> >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.
>
> I'm not practiced yet at debugging scripts via email, but are you
> duplicating this same clip, or is this instruction duplicating some other
> clip? What I'm wondering is whether it's getting instructions to duplicate
> itself, so you get a chain of things which each duplicate themselves
> once...?
>
> I may very well be offbase, but could something like this be the case
there?
>
> (If so, then perhaps looking at issuing the "duplicate" command outside of
> the duplicated clip itself, or else just putting two clips there to start,
> or something like that...?)
>
> jd
>
> John Dowdell, Macromedia Tech Support, San Francisco CA US
> Search technotes: http://www.macromedia.com/support/search/
> Offlist email risks capture by the spam filters. I may not see your
> email if it's not on the list. Private one-on-one email options are
> available via Priority Access: http://www.macromedia.com/support/
>
> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> 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


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
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: simple duplicate MC script cr, Matt Spiegler

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