List Info

Thread: recursionLimit tag still working in Flash 9 player?




recursionLimit tag still working in Flash 9 player?
user name
2008-03-04 16:38:14
Hi,
I've got a performance bug ("script is taking too
long..." error) that
I can't repro, so I thought I'd try reducing the timout
using the
ScriptLimits tag:
	<ScriptLimits maxRecursionDepth="256"
timeout="1"/>
The thing is, the code does seem to be taking more than 1
second in
the initialization phase (where the bug report points to),
but I get
no error message. I think I am properly applying this tag
because when
I lower the maxRecursionDepth, the ap hangs up, and since
the timeout
does not seem to be being honored and I thought the
recursion limit
being exceeded generated an error, I thought I'd check with
the
collective wisdom on this list. Thanks for any ideas.

Regards,
Hudson

_______________________________________________
swfmill mailing list
swfmillosflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org

Re: recursionLimit tag still working in Flash 9 player?
country flaguser name
Ukraine
2008-03-06 02:25:23
Hi Hudson!

I'm not sure but probably  this limit is applied to a either
single 
entry point
or single frame. So if you handling multiple events, or even
have
several listeners to a single event, or have huge
onEnterFrame handler
your application will be unresponsible for more than 1
second.
Probably in your case a lot of movieclips are initialized
and each
constructor/onLoad/whatever takes less than 1 second.

--
Paul

Hudson Ansley wrote:
> Hi,
> I've got a performance bug ("script is taking too
long..." error) that
> I can't repro, so I thought I'd try reducing the timout
using the
> ScriptLimits tag:
> 	<ScriptLimits maxRecursionDepth="256"
timeout="1"/>
> The thing is, the code does seem to be taking more than
1 second in
> the initialization phase (where the bug report points
to), but I get
> no error message. I think I am properly applying this
tag because when
> I lower the maxRecursionDepth, the ap hangs up, and
since the timeout
> does not seem to be being honored and I thought the
recursion limit
> being exceeded generated an error, I thought I'd check
with the
> collective wisdom on this list. Thanks for any ideas.
>
> Regards,
> Hudson
>
> _______________________________________________
> swfmill mailing list
> swfmillosflash.org
> http://osflash.org/mailman/listinfo/swfmill_osflash.org
>   


_______________________________________________
swfmill mailing list
swfmillosflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org

flv, as, onclick
country flaguser name
Canada
2008-03-06 17:04:13
hi List

Are there examples that work with the items on this page?: 
http://www.
swfmill.org/doc/reference.html

I see that there is a DefineVideoStream tag, and VideoFrame,
but can you 
provide a sample of them in an swfml file?

I'm not sure how to make a button that moves you back and
forth along the 
main timeline, for example.

Many thanks.

Gabino 



_______________________________________________
swfmill mailing list
swfmillosflash.org
http://osflash.org/mailman/listinfo/swfmill_osflash.org

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )