PDA

Click to See Complete Forum and Search --> : Using Links on XML & Flash



graccula
05-15-2001, 06:43 PM
Hi ALL

I need help to link pages in XML. Im using Dynamic Textbox allowing HTML. Im loading the XML and parsing it as HTML in the textbox. But when I click on a link at HTML within textbox, a new browser window is launched. How can I load the next page without launch a browser window? I need that the next HTML appears at dinamic textbox...

Tks
Gracc

SJT
05-15-2001, 07:08 PM
I think you'd have to define a function which gets the html via load variables and assigns it to the text field; and then call the function from an asfunction link in the first block of text

i.e.
//choose the vars
<a href="asfunction:_level0.getHtmlFile,filename">link in the first text block</a>

//load the vars
//put the vars in the text field
function getHtmlFile(filename){
loadVariables