Flasher Archive

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


Subject: Re: FLASH: onClipEvent(data)
From: Randy Kato
Date: Fri, 15 Sep 2000 15:38:16 +0100

Hi Helen,

Are you putting your script into a frame withing the MC? I'm pretty sure the
onClipEvent() handler needs to be attached to the Instance of the MC (this
was one of the trickiest things to figure out in the F4 to F5 transition),
rather than being in the MC itself. Think button actions -- in the instance,
not the timeline.

And I think you're right about not needing a loop (shouldn't need those any
more with F5), though I haven't played with onClipEvent(data) yet.

HTH,
Randy


Helen Triolo wrote:

> Has anyone successfully used onClipEvent(data)? I have a movieclip that
> does a LoadVariables and returns a variable to the main timeline from a
> perl script. If I put a standard 2-frame wait loop in, it works fine --
> the variable shows up in the Flash movie. But if I replace the loop
> with an instance of the movieclip that has
>
> onClipEvent(data) {
> _root.gotoAndStop("display");
> }
>
> as the Object Action on one frame (labelled loop), and
> gotoAndPlay("loop") in the next frame, I never get past the "loop"
> frame. Does the variable have to be returned to the movieclip instead
> of the main timeline? (I tried that and couldn't get it to work
> either). I don't think I need to have a loop at all, but how do I get
> past the onClipEvent(data) frame? Any examples of this on the net
> anywhere? (I tried macromedia and flashkit -- no luck)

--
'''''' ' ' ' ' ' ' ' ' '
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: onClipEvent(data), Helen Triolo

Replies
  FLASH: onClipEvent(data), Helen Triolo

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