Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 183
  • Last Modified:

flask link

Using AS3 what is the script to insert a SELF  into an existing button?
Thanks,
N
0
Neil_Bradley
Asked:
Neil_Bradley
  • 3
1 Solution
 
Haris VCommented:
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

Featured Post

Get your problem seen by more experts

Be seen. Boost your question’s priority for more expert views and faster solutions

  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now