Activating Lightbox 2.0 from Flash

Hey guys,

I’m not sure if i should post this post here or at the JS forums but I hope you can help me out here.

Alright so here’s the deal:

Im using the Lightbox 2.0 (http://www.huddletogether.com/projects/lightbox2/) And a flash movie in the same page. Now ive got this thumbnail slider in the flashmovie with thumbnails loaded from an xml file. As soon as i hit a thumbnail i want the Lightbox to show the full image of the thumbnail.

I’ve got everything set up and if i test if the Lightbox works with an html link it works perfectly:

<a href = "path/to/image.jpg" rel="lightbox" title="my Title">Lightbox test</a>

Now my question is how do I call the same action in AS?

I understood the rel attribute refers to both the Lightbox JavaScript and the StyleSheet. But i really dont know how to set the rel attribute in flash.