-
CS4: 2 simple problems
So I had an link in a website that was working like this...
Code:
<a href="images/1.jpg" rel="lightbox[Portfolio]" title="GALLERY">
<img src="images/link.jpg" width="800" height="533" />
</a>
Then I decided I wanted to use a Flash file instead of the picture, so I changed this to...
Code:
<a href="images/1.jpg" rel="lightbox[Portfolio]" title="GALLERY">
<object width="800" height="533"><param name="movie" value="gallery.swf"><embed src="gallery.swf" width="800" height="533"></embed></object>
</a>
This created a problem. My face boiled over in rage because apparently you cannot simply just drop a swf in like that.
What's going to be the most simple solution to this? Some sort of
Code:
on(release)
{
getURL("http://www.example.com");
}
or can I simply change the HTML?
Thanks in advanced
-
I'm not sure what you want to do, but the code you have in Flash, will just open up a new link. I'm guessing it is not an entirely flash-based site, maybe HTML with just Flash navigation or header.
-
that was just a bad example sorry. I'm simply trying to call up Lightbox 2 from within flash.
I realised this was probably the wrong forum but there have been a few suggestions here, none of which have worked yet.
http://board.flashkit.com/board/showthread.php?t=811638