# Can someone help me with this?

**URL:** <https://forum.kirupa.com/t/can-someone-help-me-with-this/321470>\
**Category:** Uncategorized\
**Created:** [April 20, 2011, 6:00pm UTC](https://forum.kirupa.com/t/can-someone-help-me-with-this/321470 "2011-04-20T18:00:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![doobiedubois](https://avatars.discourse-cdn.com/v4/letter/d/e19b73/32.png) [@doobiedubois](https://forum.kirupa.com/u/doobiedubois)\
**Post date:** [April 20, 2011, 6:00pm UTC](https://forum.kirupa.com/t/can-someone-help-me-with-this/321470/1 "2011-04-20T18:00:25Z")

</div>

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.

```auto
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?
