mardi 21 mars 2017

Click event on HTML Element of htmlText Property of MovieClip

I have few anchor tags created inside the htmlText property of a MovieClip object. I want to get the event dispatched whenever user clicks on any one of the anchor tag.

Example code:

myMovieClip.htmlText = "<a href=\"somelink1\">somelabel1</a><br/><a href=\"somelink2\">somelabel2</a>";

Aucun commentaire:

Enregistrer un commentaire