Uncategorized
jeanvouillon
—
2017-02-06T01:11:17Z —
#1
Hi, I'm wondering if it possible to monitor the progress of the CMLParser command?
I'm asking that, because for now, it takes about 2 min to parse my CML files... and my application is not yet finished. 
So, I would like to be able to display a loading message during the process. I have tried to display a message triggered by a timer, but it stops during the parsing... I think also this help me to avoid running into the "script time limit" error.
Thank you!
shaunmarsh
—
2017-02-06T16:05:25Z —
#2
You want enable the debug flag on the parser. Are you by any chance setting variables in the Include tag?
jeanvouillon
—
2017-02-06T17:02:36Z —
#3
Thanks a lot Shaun for your fast answer! 
No. All my variables are in AS3...
But, I was not aware that I could set variable in CML... How Can I do that?
shaunmarsh
—
2017-02-06T19:16:07Z —
#4
The reason I was asking if you were setting variables through an Include tag is because that is the only time I have seen load latency of the time you mentioned. Setting variables in CML is the basis of CML. It's just a declarative alternative to AS3. I recommend following the tutorials for a better understanding of the features and limitations.
jeanvouillon
—
2017-02-06T21:41:01Z —
#5
So, I suppose there is something wrong with my CML files... Do you think, that a bad choice(or organisation) of CML tags could be the origin of that latency? (Thanks for time)
jeanvouillon
—
2017-02-06T22:47:21Z —
#6
Little update: I went through my CML files trying to find what was wrong. I was using some HTML tags <p>
and <br />
in my text elements to make some formatting... By removing them the parsing time was reduced by more than 90 sec!!!