Flash Question
- Started
- Last post
- 6 Responses
- d1ė
I have a string that is created out of variables.
Problem is, the last variable in the string appears under the rest of the string. in other words, for reasons unknown, a carraige return seems to be placed before the last variable. When tracing the following this is what happens:
trace(path + query + dom);
gives me:
path query
domI want:
path query dom
please help, macromedia is making my ulcres crawl with fire.
- unfittoprint0
do you have a "
" or at the end of the path variable?
- d1ė0
the only thing I can think of is, the "query" variable is drawn from loadVariables.
If I switch "query" out for something that isnt the loadedvariable (loaded via php) then it works fine.
hmmmmm somethings fishy here.
- unfittoprint0
Problably you have to UTF-8 encode the string form the php query, it problably there's some characters that Flash assume to be a carriage for a new line...
- d1ė0
well, this is an example of a response from the php string (if I view source from IE after i exexute the php):
&avail=AVAILABLE
thats it, no empty space, lines, 's, nothing but a simple declaration. arrg
- d1ė0
fixed the problem.
everytime a carrage return was enetered in the txt, it put a space in.
Fixed by enting the variable with another "&" to clean cut it. ahhh success :)
thanks for your help.
- unfittoprint0
no prob. crongrats.