sorry, I pasted the wrong result loop:

        for each (var result:GoogleNewsItem in resultObject.results) {
search_mc.searchResults.htmlText = search_mc.searchResults.htmlText +"<a href=\""+result.url+"\" target='_blank'>"+result.title+"</a>";
        }
        



--
Carl Welch
http://www.carlwelch.com
http://blog.jointjam.com
carlwelchdes...@gmail.com
805.403.4819





On Jun 5, 2009, at 5:50 PM, Karl DeSaulniers wrote:

Can we see your code where you assigning the URL?

Sent from losPhone

On Jun 5, 2009, at 6:33 PM, Carl Welch <carlwelchdes...@gmail.com> wrote:

Hi Guys & Gals,

I am having a hard time getting htmlText to link their hrefs properly.

example here:
http://www.carlwelch.com/searchTest.html

I have the href target set to "_blank", but when the link is selected, my server address (http://www.carlwelch.com/) gets added to the beginning of the url, like this:

http://www.carlwelch.com/http%3A%2F%2Fwww.metnews.com%2Farticles%2F2009%2Fhanl060309.htm

... how can I prevent this from happening???


Thanks!!
--
Carl Welch
http://www.carlwelch.com
http://blog.jointjam.com
carlwelchdes...@gmail.com
805.403.4819





_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders
_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

_______________________________________________
Flashcoders mailing list
Flashcoders@chattyfig.figleaf.com
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Reply via email to