hey... thanks for replying... in the description of the loadVariable or
loadVaraiblesNum functions it says that they're meant to retrieve information
from server side pages... as in ASP,PHP, coldFusion and so on... my problem
is... the server i'm working on doesnt allow tags that write files on the
server... therefore i'm limited to using only databases with queries...
loadVariablesNum gives me the option to retrieve data from a database through
another CF page that calls the database... for some reason it won't open the
.cfm file... only .txt file... Eyal.
Hi I think there is a problem in if condition and the level(2) u loads the var
, because i can get a value from cfm file using loadVariablesNum
loadVariablesNum('feedback.cfm',2); change to
loadVariablesNum('feedback.cfm',0); ald place text field in the name of 'txt'
an check i hope this will work function chk(){ if(_level2.done!=undefined){
<---- _root.txt1.htmlText=_level2.txt; clearInterval(param_int); } } var
param_int=setInterval(chk,500);
eyal453 - 21 Feb 2005 04:41 GMT
hey... still nothing... i took this script straight from the flash help
file... and it worx fine with the .txt file... therefore i'm assuming there's
no problem with the script in the flash file... however, you think that CF5
server might cause problems like that? i dont see how it would be related but
maybe there is some sort of connection... Eyal.
eyal453 - 22 Feb 2005 04:55 GMT
problem solved !!! aparently, for some reason... when writing a .cfm file for a
loadVaribales function... you must begin the variables list with & ex:
&var1=123&var2=34343 ... this is the only way the swf will read the cfm
file properly... when reading from txt files you can start without the &
sign... ex: var1=12312&var23434.... and it still reads them right... tiny
details.. it's always about that... Eyal.