Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

URL Requset-want it to open inside current

Status
Not open for further replies.

zdvdla

Technical User
Joined
Apr 28, 2007
Messages
18
Location
US

I was trying to make the URL Request to open to NEW URL inside the current window (so the BACK button would work etc.).
As it is now, it opens a new tab in Firefox each time.
I want the navigation of the buttons to navigate like they would in DW.
Each link simply opens in the same window.
Is this difficult?
Thanks..
 
tried many variations and none of them worked...
_self is not even in the AS3 help file..
what am I doing wrong??
 
Sorry Ken...this makes no sense to me at all..

Btn_GemStones_mc.addEventListener (MouseEvent.CLICK, link_gem);

var GemPage:URLRequest = new URLRequest
("
function link_gem(event:MouseEvent):void
{
navigateToURL(GemPage, _parent)
}

I get

Warning: 1058: Migration issue: The property _parent is no longer supported. Use the parent property instead..
 
navigateToURL(GemPage, "_parent");

It's a String.

By the way what I said was wrong. If you don't specify the window, Flash takes it as "_blank" and opens a new window.

Kenneth Kawamoto
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top