Hey all. I am new here and am seeking help. I am trying to get actionscript to call a javascript function and am having some difficulty. I am setting up a photo gallery in flash and want it to call up the following script:
http://www.dynamicdrive.com/dynamicindex4/lightbox2/index.htm
So in my HTML file I have this working fine using the following code:
<a href=“images/image-1.jpg” rel=“lightbox[roadtrip]”>image #1</a>
I have the following in the head of my HTML file:
<script type=“text/javascript” src=“js/prototype.js”></script>
<script type=“text/javascript” src=“js/scriptaculous.js?load=effects”></script>
<script type=“text/javascript” src=“js/lightbox.js”></script>
<link rel=“stylesheet” href=“css/lightbox.css” type=“text/css” media=“screen” />
Is there a way that I can use the <a href=“images/image-1.jpg” rel=“lightbox[roadtrip]”>image #1</a> in actionscript? I have been trying really hard to figure this out and am having no luck.
I would be very appreciative if anyone could give me some assistance with this. I thank you in advance.