Re: [Flashcoders] Interesting problem - doesn't work without call to trace.

2009-04-27 Thread Ktu
I know this is a few days old, but I have some input. I have seen something similar to this with AS2. Using the WebServices class, when you make a method call on a web service object, you create a pending call object, and one of the properties of the pendingCall class was doLazyDecoding. What

Re: [Flashcoders] Interesting problem - doesn't work without call to trace.

2009-04-17 Thread Matt S.
Does it make a difference if you write the trace as : trace(formData=+formData); trace(select1:+ select1); On 4/17/09, Tim Hawkins tim...@googlemail.com wrote: Hi, I've come across this a few times in my own code, but haven't seen it mentioned online - though it's a difficult thing to google

Re: [Flashcoders] Interesting problem - doesn't work without call to trace.

2009-04-17 Thread Glen Pike
Have you tried the toString or toXMLString for this - check the XML class for the proper function name... Glen Tim Hawkins wrote: Hi Matt, No, afraid not.. I actually use the select1 variable elsewhere, so it's not just that trace which is the problem. Thanks for the suggestion though!

Re: [Flashcoders] Interesting problem - doesn't work without call to trace.

2009-04-17 Thread Tim Hawkins
Well, it becomes a null - so if I do select1.toString() in the trace I just get a runtime error.. And I don't want to turn the results of my query into a string, because I need it as an XML ref. 2009/4/17 Glen Pike g...@engineeredarts.co.uk Have you tried the toString or toXMLString for this -

Re: [Flashcoders] Interesting problem - doesn't work without call to trace.

2009-04-17 Thread Taka Kojima
Hey Tim, I have run into this before as well, with both ActionScript and using alert() in JavaScript. What I concluded was that the trace/alert basically adds a small pause or causes something to happen (i.e. skip a frame or something of the sort) so that the code below it works. I may be