Split the parsing process into chunks (e.g. parse maximum n nodes in a
frame). Or if your data is static and will not change (e.g. it is
distributed on CD-ROM, etc.), convert the XML into an AS source file of
arrays and objects, and compile it into the main SWF or into a
separate movie, which can be loaded by the main movie (this eliminates
parsing at all).

  Attila

=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
From:    Jorge Antonio Diaz Gutierrez <[EMAIL PROTECTED]>
To:      [email protected] <[email protected]>
Date:    Thursday, July 26, 2007, 8:24:11 PM
Subject: [Flashcoders] How to Avoid "Terminate Script" Message
--====----====----====----====----====----====----====----====----====----===--
Hello there people:

I'm creating a projector that parses a "XML DataBase" but parsing takes about 
10 seconds, so "Terminate Script" Windows came up each time I launch my app.

Any suggestion?? Is there any way to set it disabled on my Projector.

Thanks
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=

_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to