flash actionscript:
Hello there! I'm abaut one week to now trying to attach a button to an txt field created on the fly, but... no results :-( I' now using the img src tag like the code i'm posting, and it works, but... the button doesn't place himself behind the text, he places himself above the text. why? Does this cant be done? this is the code: tgt["txt"+iv].htmlText += "<a href='load."+Phps_Txts/pesquisa.php+""+arr[iv]+"'>"+arr[iv]+""+'<img src="botao.swf">'+"</a>"; Thanks a lot! Pluda
I will do it like this, but i don`t now will it works! tmp = "txt"+iv; tgt[tmp].htmlText+='<a href="load."+Phps_Txts/pesquisa.php+arr[iv]+' ">'+arr[iv]+'<img src="batao.swf"></a>"; but i am not quite sure about this QUOTES here "load."+Phps_Txts/pesquisa.php... i think that it have to be '<a href="load.Phps_Txts/pesquisa.php'+arr[iv]+' ">.... Check your quotes and apostrophes again! Use quotes " for HTML syntax and apostrophes ' for Flash Actionscript syntax. And i think that you have to rename your Phps_Txts folder only with small letters - php_txts ... because the server may be cant recognize them! Hope that helps! Best Regars Ivo
Hello! Thanks for help, I had found the answer already, but your seems to be easier. We can use it like this: tgt["txt"+iv].htmlText += ""+arr[iv]+""+'<img src="botao.swf" vspace ="-12" hspace="0" id="botao">'+"</a>"; I'm now trying to pass the var "txt"+iv to my search.php, but something isn't as expect. Need more research here... :-) Thanks a lot for help Pluda
Don't see what you're looking for? Try a search.
|