Solved

flask link

Posted on 2009-05-11
4
179 Views
Last Modified: 2012-05-06
Using AS3 what is the script to insert a SELF  into an existing button?
Thanks,
N
0
Comment
Question by:Neil_Bradley
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
4 Comments
 
LVL 8

Accepted Solution

by:
Haris V earned 500 total points
ID: 24361412
please check this link,
1. http://buttonscriptas3.wordpress.com/
0
 
LVL 5

Author Comment

by:Neil_Bradley
ID: 24361587
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
 
LVL 5

Author Comment

by:Neil_Bradley
ID: 24361658
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
 
LVL 5

Author Comment

by:Neil_Bradley
ID: 24379280
Thanks for that and aplologies for the late reply.
I got it squared away with the help of your reply.
N
0

Featured Post

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Sometimes you know that one object has a specific child in it, but you can't find the child. This happened to me when I was trying to code some actionScript to make a toolbar work with its embedded buttons.  My partner had created the toolbar usi…
I have been doing hardcore actionscripting for some time; and needless to say I have faced a lot of problems in just understanding others' code rather than understanding what the code executes. A programmer's life can become hell when there are a lo…
The goal of the tutorial is to teach the user how to select which audio input to use. Once you have an audio input plugged into the laptop or computer, you will go into the audio input settings and choose which audio input you want to use.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question