A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: [F8] htmlText problem

  1. #1
    Member
    Join Date
    Nov 2003
    Location
    Ontario, Canada
    Posts
    80

    [F8] htmlText problem

    How do I creat a link in the htmlText field that uses GET strings, eg:

    Code:
    http://www.mapquest.com/maps/map.adp?searchtype=address&country=US&addtohistory=&searchtab=home&formtype=address&popflag=0&latitude=&longitude=&name=&phone=&level=&cat=&address=2011

  2. #2
    FK'n_dog a_modified_dog's Avatar
    Join Date
    Apr 2003
    Location
    "aaarf"
    Posts
    9,176
    PHP Code:
    // use asfunction in an html-enabled dynamic textfield
    // publish and upload swf and html to server. test online

    function linkOne(){
    str "http://www.mapquest.com/maps/map.adp?"+
    "searchtype=address&country=US&addtohistory="+
    "&searchtab=home&formtype=address&popflag=0"+
    "&latitude=&longitude=&name=&phone=&level=&cat=&address=2011";
    getURL(str"_blank");
    };

    this.createTextField("test",1,100,100,100,20);
    test.border true;
    test.html true;
    test.htmlText "open <a href='asfunction:linkOne'>link</a> here"

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