getURL class

OK,

I had a website that had lots of ‘navigateToURL’ MovieClips in it and I was tired to write seperate eventListeners and functions for each of them…
They took time to write and took a lot of space in the script.

So I’ve written this gotoURL class which makes things much more easier.
Just use it like this;

import com.gungoril.utils.goURL;
goURL.gotoURL(MovieClip, URL, target);

Example:
goURL.gotoURL(button_mc, “http://www.google.com”, “_blank”);

Hope this will help many others :slight_smile: