Flasher Archive

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


Subject: Re: Odp: FLASH: BUG? (is: handler execution)
From: Helen Triolo
Date: Tue, 15 Aug 2000 04:01:05 +0100

> >
> > Summary: A "goTo" moves the playback head, but handlers still execute fully.
>
axel wrote:

> is it neccesary?
>
> why can't stop execution? can it ("goto") be treated as an interpreter/handler command?
>
> why not? any reasons? maybe example / supposion ?

It *is* being interpreted. It's just that every command in the frame is
being interpreted and executed. First the goto and stop(3), and then
the goto and stop(5). If you did this command in any language

if i=2 then
y=y+3
endif
y=y+5

the y=y+5 will be executed regardless of whether i=2 or not (as you
know). Brad and JD are just saying that goto commands work the same way
-- Flash executes the first one (moving the playhead to 3 and stopping)
and then the second one (since there is no else statement, the playhead
is moved to 5 and stopped). Because you're moving the playhead and not
carrying out a program jump, all the statements in the frame get
executed. Gotta admit though that I didn't get this either til they
explained.

Now a Q for you: what's the Odp that's at the start of all your
messages? It makes it impossible to sort them by subject (ie thread)
with all the others in the list (don't mean to sound nasty about it, but
I have enough disorganization in my life already...)

Regards,
Helen
---------------------------------------------------
Flash Q&A archive · http://i-technica.com/flashlist

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Full flasher archive now available online at:
http://www.chinwag.com/flasher/archive.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpatchinwag [dot] com


Replies
  Odp: Odp: FLASH: BUG? (is: handler exec, axel
  RE: Odp: FLASH: BUG? (an exception...), Chris Tifer

Replies
  RE: FLASH: BUG? (is: handler execution), John Dowdell
  Odp: FLASH: BUG? (is: handler execution, axel

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