A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: Using Links on XML & Flash

  1. #1
    Junior Member
    Join Date
    May 2001
    Posts
    1
    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


  2. #2
    Senior Member SJT's Avatar
    Join Date
    Mar 2000
    Location
    London, UK
    Posts
    2,563
    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">lin k in the first text block</a>

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center