[flexcoders] Re: String syntax question

2007-09-01 Thread candysmate
Re: [flexcoders] Re: String syntax question Graham, Nice. I see how the timing issue came into play now! Stupid little gotchas, I hate them. Nice to be able to bounce stuff off of people here on flexcoders to get the right neurons firing. It sure is Tony. I'm every grateful, as a Flex n

[flexcoders] Re: String syntax question

2007-09-01 Thread candysmate
Re: [flexcoders] String syntax question Hello Graham, locateString has not been set to a value. By default it is null and the string conversion translates that to "null". Did you want it to be an empty String? public var locateString:String=""; Regards, Tony Sorry Tony, I should have said that

[flexcoders] Re: String syntax question

2007-09-01 Thread candysmate
Hey Ralf, you were right. It is a timing problem. I just tried callLater(nominalLocateRequest); and it worked fine. Must be to do with the layers working together in the Janus exe wrapper. Many thanks for the tip. cheers, Graham PS How do you use callLater with a function which requires arugem

Re: [flexcoders] Re: String syntax question

2007-09-01 Thread Ralf Bokelberg
How are you calling the method? Any chance you are calling it before the variable is set? Cheers, Ralf. On 9/1/07, candysmate <[EMAIL PROTECTED]> wrote: > > --- In flexcoders@yahoogroups.com , "Ralf > Bokelberg" > <[EMAIL PROTECTED]> wrote: > > > > The syntax looks ok. I guess it is either a tim

[flexcoders] Re: String syntax question

2007-09-01 Thread candysmate
--- In flexcoders@yahoogroups.com, "Ralf Bokelberg" <[EMAIL PROTECTED]> wrote: > > The syntax looks ok. I guess it is either a timing problem > (the locateString is not set, when you try to build your SQL) > or a scope problem (locateString is hidden by a local variable > of the same name) > > May