I created a Flash file with buttons and thumbnails which I would like to open external jpegs when clicked. Keep in mind that the jpegs are larger the stage . This works as planned after previewing the swf – the jpegs open in Preview.
BUT when I embed the swf in my html file, it is not successful. The jpeg files cannot be located. So I’m trying to figure out whether it’s an issue with my code or something else.
Here is some sample code.
domino_mc.addEventListener(MouseEvent.CLICK, dominoFunction);
function dominoFunction(e:MouseEvent){
navigateToURL(new URLRequest("domino2.jpg"));
Initially, I wanted to create a Lightbox in Flash but it seemed more complicated. Now I’m just stuck.
Can anybody help me sort this out?