Forum Moderators: open
I have a small flash movie that loops through a few images and has an on (release) which opens a URL.
We also have javascript on the page, which checks to see if the link/URL a user browses to are part of the site and if they're not it popups a questionaire.
With the flash link this doesn't work, and it popups the questionaire even though it is an interal link.
I have written a small javascript function in the page to force the javascript to think the link is internal, however, I'm struggling to call this function from within the flash movie.
I've tried:
var externalFunction='javascript:set_internal_link';
getURL(externalFunction);
and
ExternalInterface.call("set_internal_link");
From with in the same on release () that opens the URL.
I added an alert() to my javascript function but it's not calling the function correctly.
Any ideas/help would be much appreciated.
Thanks,
Adam