Re: max $strAction length?

gaz b <[email protected]> Mon, 24 Nov 2003 03:29:58 -0800 (PST)
Newsgroups gmane.comp.web.ming.general
Message-ID <[email protected]>
afaik 64k is the maximum ActionScript per frame that
flash can handle so maybe you need to split loading
your AS over several frames. If that does not help try
upgrading to the latest CVS version. 
Also you probably don't need the str_replace part
anymore. it was a workaround for a bug in the compiler
that has now been fixed. try this instead:
$movie->add(new SWFAction($strAction));
gazb

--- Laurent Cocea <[email protected]> wrote:
> Hello ming-dev fans,
> 
> When issuing 
> 
>   $movie->add(new SWFAction(str_replace("\r", "",
> $strAction)));
> 
> just once in the ming script, what is the maximum
> acceptable string
> length for $strAction? I mean, both programatically
> and in terms of what
> the Flash MX player supports. Is it better to issue
> $movie->add(new
> SWFAction()) multiple times with shorter strings
> rather than just once
> with a long string? The reason I'm asking is, with
> extremely large
> strings my Flash MX players on Windows (7) and Linux
> (6) crash and I'm
> trying to pinpoint the cause of this problem.
> Thanks.
> 
> -Laurent
> _______________________________________________
> ming-fun mailing list
> [email protected]
> http://www.opaque.net/mailman/listinfo/ming-fun


__________________________________
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard
http://antispam.yahoo.com/whatsnewfree