|
-
[CS3] navigateToURL with "_self")
Hi there,
I've started a web page and have a flash menu on it and am wondering the best way to hook up the buttons to other url's (index, profile, services, etc.). Should I just put in an actionscript action for each button or is there a way to do them all in one actionscript?
Next it's my code that doesn't work with "_self" only works with "_blank" and that is my problem, I need the urls to display in the same window.
......................
ins_ini.addEventListener(MouseEvent.CLICK, buttonClickHandler);
function buttonClickHandler(event:MouseEvent):void
{
var targetURL:URLRequest = new
URLRequest("http://romulocantorjimenez.com/");
navigateToURL(targetURL,"_self");
}
trace("I am clicked");
.......................
Can anybody help?
Thanks in advance...
RCantor
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|