I cannot get TextFormat to assign my dynamic text a url, what am I doing wrong?
this.createTextField("links",1,10,10,250,30);
links.text="New Books @ the Library";
myformat = new TextFormat();
myformat.url = "myformat.underline = true;
myformat.color = 0x0000CC;
bIndex=0;
eIndex=links.length;
links.setTextFormat(bIndex,eIndex,myformat);
this.createTextField("links",1,10,10,250,30);
links.text="New Books @ the Library";
myformat = new TextFormat();
myformat.url = "myformat.underline = true;
myformat.color = 0x0000CC;
bIndex=0;
eIndex=links.length;
links.setTextFormat(bIndex,eIndex,myformat);