Re: splitting AS over several frames?

"Laurent Cocea" <[email protected]> Sat, 29 Nov 2003 23:25:47 -0800 (PST)
Newsgroups gmane.comp.web.ming.general
Message-ID <20031129232548.18569.h021.c009.wm@mail.canada.com.criticalpath.net>
"SWF::Action" -- it's in ming-perl; the missing semicolon is a typo, yes.

There is something I can't seem to figure out: in ming-0.2a (Flash 5),
scripting doesn't include event-drive code, so it makes sense to loop
through a number of frames. But in ming-dev (Flash MX) event-drive code
is crucial; so what happens when trying to loop through a sequence of
frames containing event-related methods? Is that code read/executed once
and ignored in subsequent loops, while the rest of the AS gets executed
in every loop? Or is all the event-related code supposed to be in frames
that are executed just once rather than in a loop?

Thanks.

-Laurent


On Sun, 30 Nov 2003 02:01:24 +0100, Anews wrote:
 
> >   $movie->add(new SWF::Action("gotoFrame(1);play()"));
> 
> "SWF::Action" and missing semicolon after the "play()" - I presume this
> are 
> just typos?
> 
> How about "gotoAndPlay(1);"? 
> 
> It could also be problem with the rest of your code (as far as I know)
-
> not 
> enough info to tell.
> 
> Have fun!
> 
> Anze
> _______________________________________________
> ming-fun mailing list
> [email protected]
> http://www.opaque.net/mailman/listinfo/ming-fun