try you getURL:
this.text = "Adobe"
Thanks for your response dalcde. However, in my dynamic textbox I have a list with more than 50 different items with different links, and using the HTML tag seems more convenient.
I experimented a bit and found out what causes the problem:
The parent movie clip of the movie clip with the textbox has a mirrored reflection attached to it, for which I use this code:
import flash.display.*;//importing the bitmap class
var bmd:BitmapData = new BitmapData(860, 330);//definition of a variable for the target bitmap and assigning values
link_ref.attachBitmap(bmd, 1);//attaches target bitmap to movie clip (reflection)
link_ref.setMask(link_mask);//sets mask over movie clip (reflection)
this.onEnterFrame = function()
When I switch that off, the link works fine when testing the movie. This is a bit weired cause when I test the scene with the reflection (2nd level after root) the link works fine. The problem only occurs when I test the movie (level 1). Anyways, switching off the reflection is obviously not an option as all the sites on my website have reflections. Is there a workaround to this? I was never aware that the bitmap class could interfere with hyperlinks.