Solved

flask link

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

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

I know the transition can be hard. We got used to the ease of use ActionScript 2 had, but honestly, it became problematic later on, especially if designers were involved in the project and found it easy to add code as they saw fit. So, this artic…
I come across a lot of question about how to access things in the document class from a movieclip, or accessing something from a movieclip in the document class. It took me a while to figure this out but once I did it makes life so much easier. …
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.
This Micro Tutorial will teach to how to utilize bit rate in Adobe Flash Media Live Encoder.

747 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now