3 Replies Latest reply on Oct 30, 2009 12:29 PM by kglad

    Linking to external java script

    mark MacLean Level 1

      Is there a way to link a button in a swf to a java script. I'm trying to use the "lightbox" java script so that when a user clicks on an image in the swf, a larger image appears on top of the page. Here is what the link looks like in html:


      <a href="images/image-1.jpg" rel="lightbox" title="my caption">image #1</a>

      Can anyone tell me how to code this in Flash?