Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

flask link

Posted on 2009-05-11
4
Medium Priority
?
180 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 1500 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

New benefit for Premium Members - Upgrade now!

Ready to get started with anonymous questions today? It's easy! Learn more.

Question has a verified solution.

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

Introduction This article is primarily concerned with ActionScript 3 and generally specific to AVM2.  Most suggestions would apply to ActionScript 2 as well, and I've noted those tips that differ between AS2 and AS3. With the advent of ActionS…
I have found that much of my time doing support ends up being a constant repetition of the same steps to different people.  Early on I stated using web pages with Frequently Asked Questions (FAQs) to alleviate most of the burden.  Sometimes this jus…
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 how to how to load their YouTube profile onto Flash Media Live Encoder.

688 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