flask link

Using AS3 what is the script to insert a SELF  into an existing button?
Thanks,
N
LVL 5
Neil_BradleyWeb UX/UI DeveloperAsked:
Who is Participating?

Improve company productivity with a Business Account.Sign Up

x
 
Haris VConnect With a Mentor Commented:
please check this link,
1. http://buttonscriptas3.wordpress.com/
0
 
Neil_BradleyWeb UX/UI DeveloperAuthor Commented:
Im getting errors when I use the code..
N
home_btn.addEventListener(MouseEvent.CLICK,onReleaseMyButton);
function onReleaseMyButton(event:MouseEvent):void {
var req:URLRequest = new URLRequest();
req.url = http://www.mydomain.com;
navigateToURL(req,_self);
}

Open in new window

0
 
Neil_BradleyWeb UX/UI DeveloperAuthor Commented:
To clarify..
to code snippet below actions an event on mouse over the button. On click of that button I need to navigate to another page within the same site (Self).
Help to solve this much appreciated.
N

home_btn.addEventListener ( MouseEvent.ROLL_OVER, myStartHandler_home	 )
function myStartHandler_home( evt ) {
	
					  underline_home.gotoAndPlay(2);
					   }

Open in new window

0
 
Neil_BradleyWeb UX/UI DeveloperAuthor Commented:
Thanks for that and aplologies for the late reply.
I got it squared away with the help of your reply.
N
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.