Copy link to clipboard
Copied
import flash.events.MouseEvent;
import flash.net.URLRequest;
import flash.net.navigateToURL;
var getContactPage:URLRequest = new URLRequest ("http://www.mycontacturl.html")
Contact.addEventListener(MouseEvent.CLICK,ContactClick);
function ContactClick(event:MouseEvent): void {
navigateToURL (getContactPage);
}
Any help would be appreciated
Thank you
The message makes it sound like Contact is the name of a class, not an instance name of an object. Make sure you are not naming the object with a class name.
Copy link to clipboard
Copied
The message makes it sound like Contact is the name of a class, not an instance name of an object. Make sure you are not naming the object with a class name.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now