Solved

flask link

Posted on 2009-05-11
4
175 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
  • 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
How to disable  HTML5 video in chrome 2 1,551
Adobe Flash Player - PPAPI plugin 6 645
Adobe Flash Player ActionScript error 6 64
Running Mp4 or Flash Video 1 115
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…
This article describes a solution to a problem of subloading one movie into another when they have different SWF versions. Sometime back, I was working on an ActionScript project while I came across an interesting fact which I would like to share…
In this tutorial viewers will learn how to create a basic shape tween animation in Flash including shape hints for smooth animation Open a new document in Flash: Draw a shape: Select another frame (how long you want the tween to be): Right click and…
The goal of the tutorial is to teach the user what frame rate is, how to control it and what effect it has on the video.

770 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