When I add this code and preview, I get errors. What kind of code am I supposed to use for sendToURL function to redirect to google.com?
If you are trying to link to a new web page use navigateToURL()
I'm informed about the difference between navigateToURL and sendToURL but I need to use sendToURL in my case.
Note that I changed the command to navigateToURL(). Also, the argument in the function call needs to be a URLRequest object, not a String, as in...
Actually, getURL is AS2... my mind slipped a bit. If you know you need to use sendToURL, it still requires a URLRequest object such as what I showed in the last posting.
I changed navigate with send and it worked. Appreciate the help.