Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 02-02-2005, 09:21 PM   #1
Registered User
Join Date: Nov 2004
Posts: 15
Default Pop up window - make links load in '_parent' (help!)


I have a pop up window that contains my flash animation. It loads out of a standard html page.

The problem I am having is that I want to keep the pop up window open and load links from within my flash animation that load in the parent html window.

I've tried several things but all I get is the new page either loading in '_blank' or in '_self'.

This is the same for flash's built in link maker thing (ie text and you type the link in in the properties box) and for buttons that I make.

Here is some examples of what I've tried from a button I've made. The button's instance name is 'donate'.

PHP Code:
donate.onPress = function() {
PHP Code:
donate.onPress = function() {
PHP Code:
donate.onPress = function() {
PHP Code:
donate.onPress = function() {
donate="javascript:loadinparent('http://www.famine.org.nz/donate.aspx', false);";
No matter what I try it always loads in a new window or in the pop up... It's driving me crazy!

Any help very very much appreciated!


humbleches is offline   Reply With Quote
Old 02-02-2005, 10:50 PM   #2
Banned by AS.org Staff
Join Date: Mar 2002
Posts: 10,533

Have you tried a javascript call (with your getURL) targeting the popup's opener's location?
oldnewbie is offline   Reply With Quote
Old 02-03-2005, 12:02 AM   #3
Registered User
Join Date: Nov 2004
Posts: 15

No.... but that is because I have no idea how to do that! Could you show me how you would do it. I'm not very good at java im afraid.

Thanks for your reply

humbleches is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT. The time now is 09:06 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.