Hello guys/ladies,
I’m attempting to do something that should be fairly simple but hasn’t been executed.
I’d like to click a button or thumbnail to open a jpeg. The jpegs are external and larger than the stage.
When previewing the swf, it works just fine. The jpeg open in Preview. But when the swf is embed in the html file, the jpeg can’t be located. (In FF, I get “file not found”)
Now I’m wondering whether or not I should be using a URLRequest or the loader class. Here is my code:
japan_btn.addEventListener(MouseEvent.CLICK, japanThumbFunction);
function japanThumbFunction(e:MouseEvent){
navigateToURL(new URLRequest("elleJapan.jpg"));
}
Can anyone help with this? It’s been drivng me nuts for days.