In searching through the forums for the last 2 hours, I could not find a definitive answer for the following questions:
- I have attached my .fla and dependent files. I am currently using IULoader to externally load the 5 images in my menu. However, I want to link each of these images to a page on my website. I have figured out how to do this internally using the following code:
function thumbDownHandler1(event:MouseEvent):void
{
navigateToURL(URLRequest("http://www.boomer-living.com"));
}
myLoader1.back_one_btn.addEventListener(MouseEvent.MOUSE_DOWN, thumbDownHandler1);
I was wondering if there was anyway to change this code to make it possible for me to be able to load a URL from a text file or XML file so I would not have to constantly change the URL in the .fla file.
- If the above is not possible, I was wondering if there was a way to code this so that the link loaded in the same page. I’ve tried various methods of hyperlinking that use the “_self” modifier, but that seems to work when loading in Flash, but not when I upload the flash file to my website. I can only get the “_blank” modifier to work and that is squashed out by pop-up blockers.
Any help would be appreciated!